self.AMP_CONFIG={"v":"012202072236000","type":"production","allow-doc-opt-in":["amp-next-page"],"allow-url-opt-in":[],"canary":0,"a4aProfilingRate":0.01,"doubleclickSraExp":0.01,"doubleclickSraReportExcludedBlock":0.1,"flexAdSlots":0.05,"flexible-bitrate":0.1,"ios-fixed-no-transfer":0,"story-ad-placements":0.01,"story-disable-animations-first-page":1,"story-load-first-page-only":1,"story-load-inactive-outside-viewport":1,"amp-sticky-ad-to-amp-ad-v4":0,"esm":1};/*AMP_CONFIG*/(()=>{var t,e=class{constructor(){this.nt=new i}abort(){if(!this.nt.rt&&(this.nt.rt=!0,this.nt.ot)){const t={"type":"abort","bubbles":!1,"cancelable":!1,"target":this.nt,"currentTarget":this.nt};this.nt.ot(t)}}get signal(){return this.nt}},i=class{constructor(){this.rt=!1,this.ot=null}get aborted(){return this.rt}get onabort(){return this.ot}set onabort(t){this.ot=t}};function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i<e;i++)s[i]=t[i];return s}function n(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(){return t||(t=Promise.resolve(void 0))}var o=class{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}};function h(t){return new Promise((e=>{e(t())}))}function a(t){const e=Object.getOwnPropertyDescriptor(t,"message");if(null!=e&&e.writable)return t;const{message:i,stack:s}=t,n=new Error(i);for(const e in t)n[e]=t[e];return n.stack=s,n}function c(t){let e=null,i="";for(var s,r=n(arguments,!0);!(s=r()).done;){const t=s.value;t instanceof Error&&!e?e=a(t):(i&&(i+=" "),i+=t)}return e?i&&(e.message=i+": "+e.message):e=new Error(i),e}function l(t){var e,i;null===(e=(i=self).__AMP_REPORT_ERROR)||void 0===e||e.call(i,t)}function u(t){const e=c.apply(null,arguments);setTimeout((()=>{throw l(e),e}))}function d(t){const e=c.apply(null,arguments);return e.expected=!0,e}var{hasOwnProperty:p,toString:m}=Object.prototype;function f(t){return"[object Object]"===m.call(t)}function g(t){const e=Object.create(null);return t&&Object.assign(e,t),e}function v(t,e){return p.call(t,e)}function _(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function A(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}function y(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?A(Object(i),!0).forEach((function(e){_(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):A(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function P(t){return t?Array.prototype.slice.call(t):[]}var{isArray:b}=Array;function I(t){return b(t)?t:[t]}function w(t,e){const i=[];let s=0;for(let n=0;n<t.length;n++){const r=t[n];e(r,n,t)?i.push(r):(s<n&&(t[s]=r),s++)}return s<t.length&&(t.length=s),i}function E(t,e){const i=t.indexOf(e);return-1!=i&&(t.splice(i,1),!0)}function T(t){return"string"==typeof t}function S(t){return 1==(null==t?void 0:t.nodeType)}function M(t){return"number"==typeof t&&isFinite(t)}var R="​​​",x="​​​​";function k(t){return S(t)?(t=t).tagName.toLowerCase()+(t.id?`#${t.id}`:""):t}function j(t){return t.indexOf(R)>=0}function V(t,e,i="Assertion failed",s){var n,r;if(e)return e;t&&-1==i.indexOf(t)&&(i+=t);let o=3;const h=i.split("%s");let a=h.shift();const c=[a];for(;h.length;){const t=arguments[o++],e=h.shift();a+=k(t)+e,c.push(t,e.trim())}const l=new Error(a);throw l.messageArray=w(c,(t=>""!==t)),null===(n=(r=self).__AMP_REPORT_ERROR)||void 0===n||n.call(r,l),l}function O(t,e,i,s,n){return b(n)?t(i,n.concat([e])):t(i,`${n||s}: %s`,e),e}function C(t,e,i,s,n,r,o,h,a,c,l){return t}function N(t,e){return t}function L(t,e){return t}function D(t,e){return t}function z(t,e,i,s,n,r,o,h,a,c,l){return V(R,t,e,i,s,n,r,o,h,a,c,l)}function U(t){return JSON.parse(t)}function $(t,e){try{return U(t)}catch(t){return null==e||e(t),null}}function F(t){const e=new Uint8Array(t.length);for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);C(s<=255),e[i]=s}return e}function H(t,e){let{crypto:i}=t;const s=new Uint8Array(e);return i.getRandomValues(s),s}function B(t,e,i){let s=0,n=null;function r(r){n=null,s=t.setTimeout(o,i),e.apply(null,r)}function o(){s=0,n&&r(n)}return function(...t){s?n=t:r(t)}}function q(t,e,i){let s=0,n=0,r=null;function o(){s=0;const h=i-(t.Date.now()-n);var a;h>0?s=t.setTimeout(o,h):(a=r,r=null,e.apply(null,a))}return function(...e){n=t.Date.now(),r=e,s||(s=t.setTimeout(o,i))}}var G=["javascript:","data:","vbscript:"],W=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function K(t,e=""){try{return decodeURIComponent(t)}catch(t){return e}}function Y(t){const e=g();if(!t)return e;let i;for(;i=W.exec(t);){const t=K(i[1],i[1]),s=i[2]?K(i[2].replace(/\+/g," "),i[2]):"";e[t]=s}return e}function J(t){const{location:e}=t||self;return Y(e.originalHash||e.hash)}var X=self.AMP_CONFIG||{},Q=("string"==typeof X.thirdPartyFrameRegex?new RegExp(X.thirdPartyFrameRegex):X.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,Z=("string"==typeof X.cdnProxyRegex?new RegExp(X.cdnProxyRegex):X.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function tt(t){if(!self.document||!self.document.head)return null;if(self.location&&Z.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${t}"]`);return e&&e.getAttribute("content")||null}var et={thirdParty:X.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:X.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:Q,cdn:X.cdnUrl||tt("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:Z,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:X.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:X.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:X.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:X.geoApiUrl||tt("amp-geo-api")},it={urls:et},st="";function nt(t){const e=t||self;return e.__AMP_MODE?e.__AMP_MODE:e.__AMP_MODE=function(t){return{localDev:!1,development:ot(t,J(t)),esm:!0,test:!1,rtvVersion:rt(t)}}(e)}function rt(t){var e;return st||(st=(null===(e=t.AMP_CONFIG)||void 0===e?void 0:e.v)||"012202072236000"),st}function ot(t,e){const i=e||J(t);return["1","actions","amp","amp4ads","amp4email"].includes(i.development)||!!t.AMP_DEV_MODE}var ht=()=>{},at=void 0;function ct(t){at=t}var lt=(t,e)=>e.reduce(((t,e)=>`${t}&s[]=${ut(e)}`),`https://log.amp.dev/?v=012202072236000&id=${encodeURIComponent(t)}`),ut=t=>encodeURIComponent(String(k(t))),dt=t=>parseInt(J(t).log,10);self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var pt=self.__AMP_LOG,mt=null;function ft(t,e){if(!mt)throw new Error("failed to call initLogConstructor");return new mt(self,t,e)}function gt(t){return pt.user||(pt.user=vt(R)),function(t,e){return e&&e.ownerDocument.defaultView!=t}(pt.user.win,t)?pt.userForEmbed||(pt.userForEmbed=vt(x)):pt.user}function vt(t){return ft(((t,e)=>e||t>=1?4:2),t)}function _t(){return pt.dev||(pt.dev=ft((t=>t>=3?4:t>=2?3:0)))}function At(t,e,i,s,n,r,o,h,a,c,l){return t}function yt(t,e,i,s,n,r,o,h,a,c,l){return gt().assert(t,e,i,s,n,r,o,h,a,c,l)}function Pt(t){return(t.ownerDocument||t).defaultView}function bt(t,e){return t.replace(/^|,/g,`$&${e} `)}function It(t){return CSS.escape(t)}function wt(t){C(/^[\w-]+$/.test(t))}function Et(t,e){return t.querySelector(bt(e,":scope"))}function Tt(t,e){const i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!i&&i.call(t,e)}function St(t,e){return t.closest?t.closest(e):function(t,e,i){let s;for(s=t;s&&void 0!==s;s=s.parentElement)if(e(s))return s;return null}(t,(t=>Tt(t,e)))}function Mt(t,e){for(let i=t.lastElementChild;i;i=i.previousElementSibling)if(e(i))return i;return null}function Rt(t,e){return wt(e),Et(t,`> [${e}]`)}function xt(t){return!!function(t){let e;return T(t)?e=t:S(t)&&(e=t.tagName),!!e&&e.toLowerCase().startsWith("i-")}(t)||t.nodeType===Node.ELEMENT_NODE&&(N(t),t.hasAttribute("placeholder")||t.hasAttribute("fallback")||t.hasAttribute("overflow"))}var kt={bubbles:!0,cancelable:!0};function jt(t,e,i){if(e(t))i();else{const s=new(Pt(t).MutationObserver)((()=>{e(t)&&(s.disconnect(),i())}));s.observe(t,{childList:!0})}}function Vt(t){return new Promise((e=>function(t,e){jt(t.documentElement,(()=>!!t.body),e)}(t,e)))}function Ot(t){var e;null===(e=t.parentElement)||void 0===e||e.removeChild(t)}function Ct(t,e,i){return function(t,e){for(const i in e)t.setAttribute(i,e[i]);return t}(t.createElement(e),i)}function Nt(t){const e=t.isConnected;if(void 0!==e)return e;let i=t;for(;i=Lt(i),i.host;)i=i.host;return i.nodeType===Node.DOCUMENT_NODE}function Lt(t){if(Node.prototype.getRootNode)return t.getRootNode();let e;for(e=t;e.parentNode&&(!(i=e)||"I-AMPHTML-SHADOW-ROOT"!=i.tagName&&(11!=i.nodeType||"[object ShadowRoot]"!==Object.prototype.toString.call(i)));e=e.parentNode);var i;return e}function Dt(t,e){let i=t;do{if(i.nextSibling)return!0}while((i=i.parentNode)&&i!=e);return!1}function zt(t,e){const{length:i}=t;for(let s=0;s<i;s++)e(t[s],s)}function Ut(t){try{t.focus()}catch(t){}}function $t(t){return t.parent&&t.parent!=t}function Ft(t,e,i,s){const n=i||{};C(t.ownerDocument);const r=t.ownerDocument.createEvent("Event");r.data=n;const{bubbles:o,cancelable:h}=s||kt;r.initEvent(e,o,h),t.dispatchEvent(r)}function Ht(t,e){return e!==t&&t.contains(e)}function Bt(t){return t.hasAttribute("i-amphtml-ssr")}function qt(t,e){const i=t.head.querySelector("script[nonce]");if(i){const t=i.nonce||i.getAttribute("nonce");e.setAttribute("nonce",null!=t?t:"")}}function Gt(t,e,i,s){return{left:t,top:e,width:i,height:s,bottom:e+s,right:t+i,x:t,y:e}}function Wt(t){return Gt(Number(t.left),Number(t.top),Number(t.width),Number(t.height))}function Kt(t,e,i){return 0==e&&0==i||0==t.width&&0==t.height?t:Gt(t.left+e,t.top+i,t.width,t.height)}function Yt(t){return!t.IntersectionObserver||!t.IntersectionObserverEntry||!!t.IntersectionObserver._stub||!function(t){try{return new t.IntersectionObserver((()=>{}),{root:t.document}),!0}catch(t){return!1}}(t)||function(t){return/apple/i.test(t.navigator.vendor)}(t)}var Jt=class{constructor(t,e){this.st=t,this.it=y({root:null,rootMargin:"0px 0px 0px 0px"},e),this.ct=[],this.ut=null,Jt._upgraders.push(this.lt.bind(this))}get root(){return this.ut?this.ut.root:this.it.root||null}get rootMargin(){return this.ut?this.ut.rootMargin:this.it.rootMargin}get thresholds(){return this.ut?this.ut.thresholds:[].concat(this.it.threshold||0)}disconnect(){this.ut?this.ut.disconnect():this.ct.length=0}takeRecords(){return this.ut?this.ut.takeRecords():[]}observe(t){this.ut?this.ut.observe(t):-1==this.ct.indexOf(t)&&this.ct.push(t)}unobserve(t){if(this.ut)this.ut.unobserve(t);else{const e=this.ct.indexOf(t);-1!=e&&this.ct.splice(e,1)}}lt(t){const e=new t(this.st,this.it);this.ut=e;for(var i,s=n(this.ct,!0);!(i=s()).done;){const t=i.value;e.observe(t)}this.ct.length=0}};Jt._upgraders=[];var{hasOwnProperty:Xt}=Object.prototype;function Qt(t){return!t.ResizeObserver||!!t.ResizeObserver._stub}var Zt,te=class{constructor(t){this.st=t,this.ct=[],this.ut=null,te._upgraders.push(this.lt.bind(this))}disconnect(){this.ut?this.ut.disconnect():this.ct.length=0}observe(t){this.ut?this.ut.observe(t):-1==this.ct.indexOf(t)&&this.ct.push(t)}unobserve(t){if(this.ut)this.ut.unobserve(t);else{const e=this.ct.indexOf(t);-1!=e&&this.ct.splice(e,1)}}lt(t){const e=new t(this.st);this.ut=e;for(var i,s=n(this.ct,!0);!(i=s()).done;){const t=i.value;e.observe(t)}this.ct.length=0}};function ee(t,e,i,s){me(t=ce(t),t,e,i),s&&pe(t,e)}function ie(t,e,i,s){const n=ue(t),r=de(n);me(r,n,e,i),s&&pe(r,e)}function se(t,e){return pe(t=ce(t),e)}function ne(t,e){return ye(t=ce(t),e)?pe(t,e):null}function re(t,e){return pe(de(ue(t)),e)}function oe(t,e){const i=de(ue(t));return ye(i,e)?pe(i,e):null}function he(t,e){return fe(de(t),e)}function ae(t,e){return ge(de(t),e)}function ce(t){return t.__AMP_TOP||(t.__AMP_TOP=t)}function le(t,e){const i=(t.ownerDocument||t).defaultView,s=e||ce(i);if(i&&i!=s&&ce(i)==s)try{return i.frameElement}catch(t){}return null}function ue(t){return t.nodeType?function(t){return se(t,"ampdoc")}(Pt(t)).getAmpDoc(t):t}function de(t){const e=ue(t);return e.isSingleDoc()?e.win:e}function pe(t,e){At(ye(t,e));const i=ve(t)[e];return i.obj||(At(i.ctor),At(i.context),i.obj=new i.ctor(i.context),At(i.obj),i.context=null,i.resolve&&i.resolve(i.obj)),i.obj}function me(t,e,i,s,n,r){const o=ve(t);let h=o[i];h||(h=o[i]={obj:null,promise:null,resolve:null,reject:null,context:null,ctor:null,sharedInstance:r||!1}),!n&&h.ctor||(h.ctor=s,h.context=e,h.sharedInstance=r||!1,h.resolve&&pe(t,i))}function fe(t,e){const i=ge(t,e);if(i)return i;const s=ve(t);return s[e]=Pe(),s[e].promise}function ge(t,e){const i=ve(t)[e];return i?i.promise?i.promise:(pe(t,e),i.promise=Promise.resolve(i.obj)):null}function ve(t){let e=t.__AMP_SERVICES;return e||(e=t.__AMP_SERVICES={}),e}function _e(t){return"function"==typeof t.dispose}function Ae(t,e){if(_e(e))try{(function(t){return At(_e(t)),t})(e).dispose()}catch(e){_t().error("SERVICE","failed to dispose service",t,e)}}function ye(t,e){const i=t.__AMP_SERVICES&&t.__AMP_SERVICES[e];return!(!i||!i.ctor)}function Pe(){const t=new o,{promise:e,reject:i,resolve:s}=t;return e.catch((()=>{})),{obj:null,promise:e,resolve:s,reject:i,context:null,ctor:null}}te._upgraders=[],self.document&&(Yt(Zt=self)&&function(t){if(!t.IntersectionObserver)return t.IntersectionObserver=Jt,void(t.IntersectionObserver._stub=Jt);const e=t.IntersectionObserver;t.IntersectionObserver=function(t,e){return function(i,s){var n;return 9===(null==s||null===(n=s.root)||void 0===n?void 0:n.nodeType)?new e(i,s):new t(i,s)}}(t.IntersectionObserver,Jt),t.IntersectionObserver._stub=Jt,t.IntersectionObserver._native=e}(Zt),function(t){t.IntersectionObserverEntry&&!("isIntersecting"in t.IntersectionObserverEntry.prototype)&&Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{enumerable:!0,configurable:!0,get(){return this.intersectionRatio>0}})}(Zt),function(t){Qt(t)&&function(t){t.ResizeObserver||(t.ResizeObserver=te,t.ResizeObserver._stub=te)}(t)}(self),function(t){t.AbortController||(Object.defineProperty(t,"AbortController",{configurable:!0,enumerable:!1,writable:!0,value:e}),Object.defineProperty(t,"AbortSignal",{configurable:!0,enumerable:!1,writable:!0,value:i}))}(self));var be="amp-experiment-toggles",Ie="__AMP__EXPERIMENT_TOGGLES";function we(t,e){return!!Te(t)[e]}function Ee(t,e,i,s){const n=we(t,e),r=null!=i?i:!n;if(r!=n&&(Te(t)[e]=r,!s)){const i=Se(t);i[e]=r,function(t,e){const i=[];for(const t in e)i.push((!1===e[t]?"-":"")+t);try{var s;null===(s=t.localStorage)||void 0===s||s.setItem(be,i.join(","))}catch(t){gt().error("EXPERIMENTS","Failed to save experiments to localStorage.")}}(t,i)}return r}function Te(t){var e,i,s,r,o;if(t[Ie])return t[Ie];t[Ie]=g();const h=t[Ie];C(h);const a=y(y({},null!==(e=t.AMP_CONFIG)&&void 0!==e?e:{}),null!==(i=t.AMP_EXP)&&void 0!==i?i:U((null===(s=t.__AMP_EXP)||void 0===s?void 0:s.textContent)||"{}"));for(const t in a){const e=a[t];"number"==typeof e&&e>=0&&e<=1&&(h[t]=Math.random()<e)}const c=null===(r=t.AMP_CONFIG)||void 0===r?void 0:r["allow-doc-opt-in"];if(b(c)&&c.length){const e=t.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(e)for(var l,u,d=n((null===(l=e.getAttribute("content"))||void 0===l?void 0:l.split(","))||[],!0);!(u=d()).done;){const t=u.value;c.includes(t)&&(h[t]=!0)}}Object.assign(h,Se(t));const p=null===(o=t.AMP_CONFIG)||void 0===o?void 0:o["allow-url-opt-in"];if(b(p)&&p.length){const e=Y(t.location.originalHash||t.location.hash);for(var m,f=n(p,!0);!(m=f()).done;){const t=m.value,i=e[`e-${t}`];"1"==i&&(h[t]=!0),"0"==i&&(h[t]=!1)}}return h}function Se(t){var e;let i="";try{var s;"localStorage"in t&&(i=null!==(s=t.localStorage.getItem(be))&&void 0!==s?s:"")}catch(t){}const r=(null===(e=i)||void 0===e?void 0:e.split(/\s*,\s*/g))||[],o=g();for(var h,a=n(r,!0);!(h=a()).done;){const t=h.value;t&&("-"==t[0]?o[t.substr(1)]=!1:o[t]=!0)}return o}var Me=["amp-mustache"];function Re(t){if(!t)return null;const e=t.match(/^(.*)\/(.*)-([0-9.]+|latest)(\.max)?\.(?:js|mjs)$/i),i=e?e[2]:void 0,s=e?e[3]:void 0;return i&&s?{extensionId:i,extensionVersion:s}:null}function xe(t,e,i){const s=t.document.createElement("script");s.async=!0,je(e)?i="":s.setAttribute(Me.indexOf(e)>=0?"custom-template":"custom-element",e),s.setAttribute("data-script",e),s.setAttribute("i-amphtml-inserted",""),s.setAttribute("type","module"),qt(t.document,s),s.setAttribute("crossorigin","anonymous");const n=function(t,e,i,s){return`${et.cdn}/rtv/${nt().rtvVersion}/v0/${e}${i?"-"+i:""}.mjs`}(t.location,e,i);return s.src=n,s}function ke(t,e,i,s,n=!0){const r=":not([i-amphtml-loaded-new-version])"+(n?"":":not([i-amphtml-inserted])"),o=t.document.head.querySelectorAll(`script[src*="/${e}-"]${r}`),h=[];for(let t=0;t<o.length;t++){const n=o[t],r=Re(n.src);if(!r)continue;const{extensionId:a,extensionVersion:c}=r;a==e&&(je(e)||c==i||"latest"==c&&s)&&h.push(n)}return h}function je(t){return t.startsWith("_")}function Ve(t,e,i,s){return Oe(t,e,i,s).then((t=>function(t,e,i){return yt(t,"Service %s was requested to be provided through %s, but %s is not loaded in the current page. To fix this problem load the JavaScript file for %s in this page.",e,i,i,i)}(t,e,i)))}function Oe(t,e,i,s){const n=ae(t,e);if(n)return n;const r=ue(t);return r.whenExtensionsKnown().then((()=>{const t=r.getExtensionVersion(i);return t?se(r.win,"extensions").waitForExtension(i,t):null})).then((i=>i?s?ae(t,e):he(t,e):null))}var Ce=t=>Oe(t,"access","amp-access"),Ne=t=>Oe(t,"subscriptions","amp-subscriptions"),Le=t=>oe(t,"action"),De=t=>Ve(t,"activity","amp-analytics"),ze=t=>ue(t),Ue=t=>se(t,"ampdoc"),$e=t=>function(t,e,i){const s=oe(t,e);return s?Promise.resolve(s):Oe(t,e,i)}(t,"bind","amp-bind"),Fe=t=>he(t,"cid"),He=t=>re(t,"documentInfo").get(),Be=t=>se(t,"extensions"),qe=t=>re(t,"history"),Ge=t=>re(t,"mutator"),We=t=>se(t,"performance"),Ke=t=>se(t,"platform"),Ye=t=>se(t,"preconnect"),Je=t=>re(t,"resources"),Xe=t=>function(t,e){return pe(t,"timer")}(t),Qe=t=>oe(t,"url-replace"),Ze=t=>Oe(t,"geo","amp-geo",!0),ti=t=>oe(t,"url"),ei=t=>re(t,"viewer"),ii=t=>se(t,"vsync"),si=t=>re(t,"viewport");function ni(t){return function(t,e){const i=e.documentElement;return["⚡4email","amp4email"].some((t=>i.hasAttribute(t)))}(0,t)}var ri,oi="building",hi="mounting",ai="loading",ci="complete",li="error";function ui(t){return t.readyState!=ai&&"uninitialized"!=t.readyState}function di(t){return t.readyState==ci}function pi(t,e){mi(t,ui,e)}function mi(t,e,i){let s=e(t);if(s)i(t);else{const n=()=>{e(t)&&(s||(s=!0,i(t)),t.removeEventListener("readystatechange",n))};t.addEventListener("readystatechange",n)}}function fi(t){return new Promise((e=>{pi(t,e)}))}function gi(t){return new Promise((e=>{mi(t,di,e)}))}function vi(t,e,i,s){let n=t,r=i,o=t=>{try{return r(t)}catch(t){var e,i;throw null===(e=(i=self).__AMP_REPORT_ERROR)||void 0===e||e.call(i,t),t}};const h=function(){if(void 0!==ri)return ri;ri=!1;try{const t={get capture(){return ri=!0,!1}};self.addEventListener("test-options",null,t),self.removeEventListener("test-options",null,t)}catch(t){}return ri}(),a=!(null==s||!s.capture);return n.addEventListener(e,o,h?s:a),()=>{null==n||n.removeEventListener(e,o,h?s:a),r=null,n=null,o=null}}var _i="Failed to load:";function Ai(t,e,i,s){const n={detail:i};return Object.assign(n,s),new t.CustomEvent(e,n)}function yi(t,e,i,s){return vi(t,e,i,s)}function Pi(t){return t.data}function bi(t,e,i,s){let n=i;const r=vi(t,e,(t=>{try{n(t)}finally{n=null,r()}}),s);return r}function Ii(t){let e,i;if(function(t){return!!(t.complete||"complete"==t.readyState||wi(t)&&t.readyState>0||t.document&&"complete"==t.document.readyState)}(t))return Promise.resolve(t);const s=wi(t);return s&&t.__AMP_MEDIA_LOAD_FAILURE_SRC===t.currentSrc?Promise.reject(t):new Promise(((n,r)=>{if(e=s?bi(t,"loadedmetadata",n,{capture:!0}):bi(t,"load",n),!t.tagName)return;let o=t;if(s&&!t.hasAttribute("src")&&(o=Mt(t,(t=>"SOURCE"===t.tagName)),!o))return r(new Error("Media has no source."));i=bi(o,"error",r)})).then((()=>(i&&i(),t)),(()=>{e&&e(),function(t){wi(t)&&(t.__AMP_MEDIA_LOAD_FAILURE_SRC=t.currentSrc||!0);let e=t;throw e&&e.src&&(e=e.src),gt().createError(_i,e)}(t)}))}function wi(t){return"AUDIO"===t.tagName||"VIDEO"===t.tagName}var Ei={"navigationStart":1,"redirectStart":1,"redirectEnd":1,"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"secureConnectionStart":1,"connectEnd":1,"requestStart":1,"responseStart":1,"responseEnd":1,"domLoading":2,"domInteractive":2,"domContentLoaded":2,"domComplete":2,"loadEventStart":3,"loadEventEnd":4};function Ti(t,e,i){const s=Ei[e]||3,n=i?Ei[i]||3:s,o=Math.max(s,n);let h;if(1===o)h=r();else if(2===o)h=gi(t.document);else if(3===o)h=Ii(t);else if(4===o){const e=Xe(t);h=Ii(t).then((()=>e.promise(1)))}return At(h),h.then((()=>Si(t,e,i)))}function Si(t,e,i){const s=t.performance&&t.performance.timing;if(!s||0==s.navigationStart)return;const n=void 0===i?s[e]:s[i]-s[e];return!M(n)||n<0?void 0:n}function Mi(t,e){const i=t.performance&&t.performance.navigation;if(i&&void 0!==i[e])return i[e]}JSON.parse('{"_ping_":{"renderStartImplemented":true,"clientIdScope":"_PING_","consentHandlingOverride":true},"1wo":{},"24smi":{"prefetch":"https://jsn.24smi.net/smi.js","preconnect":"https://data.24smi.net"},"a8":{"prefetch":"https://statics.a8.net/amp/ad.js","renderStartImplemented":true},"a9":{"prefetch":"https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"},"accesstrade":{"prefetch":"https://h.accesstrade.net/js/amp/amp.js"},"adagio":{"prefetch":"https://js-ssl.neodatagroup.com/adagio_amp.js","preconnect":["https://ad-aws-it.neodatagroup.com","https://tracker.neodatagroup.com"],"renderStartImplemented":true},"adblade":{"prefetch":"https://web.adblade.com/js/ads/async/show.js","preconnect":["https://staticd.cdn.adblade.com","https://static.adblade.com"],"renderStartImplemented":true},"adbutler":{"prefetch":"https://servedbyadbutler.com/app.js"},"adform":{},"adfox":{"prefetch":"https://yandex.ru/ads/system/context.js","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"adgeneration":{"prefetch":"https://i.socdm.com/sdk/js/adg-script-loader.js"},"adglare":{"renderStartImplemented":true},"adhese":{"renderStartImplemented":true},"adincube":{"renderStartImplemented":true},"adition":{},"adman":{},"admanmedia":{"renderStartImplemented":true},"admixer":{"renderStartImplemented":true,"preconnect":["https://inv-nets.admixer.net","https://cdn.admixer.net"]},"adnuntius":{"prefetch":"https://cdn.adnuntius.com/adn.js","renderStartImplemented":true},"adocean":{"consentHandlingOverride":true},"adop":{},"adpicker":{"renderStartImplemented":true},"adplugg":{"prefetch":"https://www.adplugg.com/serve/js/ad.js","renderStartImplemented":true},"adpon":{"prefetch":"https://ad.adpon.jp/amp.js","clientIdScope":"AMP_ECID_ADPON"},"adpushup":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn.adpushup.com"},"adreactor":{},"ads2bid":{"renderStartImplemented":true},"adsensor":{"prefetch":"https://wfpscripts.webspectator.com/amp/adsensor-amp.js","clientIdScope":"amp_ecid_adensor","renderStartImplemented":true},"adservsolutions":{},"adskeeper":{"renderStartImplemented":true,"preconnect":["https://jsc.adskeeper.com","https://servicer.adskeeper.com","https://s-img.adskeeper.com"]},"adsloom":{"clientIdScope":"AMP_ECID_ADSLOOM"},"adsnative":{"prefetch":"https://static.adsnative.com/static/js/render.v1.js","preconnect":"https://api.adsnative.com"},"adspeed":{"preconnect":"https://g.adspeed.net","renderStartImplemented":true},"adspirit":{},"adstir":{"prefetch":"https://js.ad-stir.com/js/adstir_async.js","preconnect":"https://ad.ad-stir.com"},"adstyle":{"prefetch":"https://widgets.ad.style/amp.js","preconnect":["https://w.ad.style"]},"adtech":{"prefetch":"https://s.aolcdn.com/os/ads/adsWrapper3.js","preconnect":["https://mads.at.atwola.com","https://aka-cdn.adtechus.com"]},"adtelligent":{"preconnect":["https://s.adtelligent.com"],"renderStartImplemented":true},"adthrive":{"prefetch":["https://www.googletagservices.com/tag/js/gpt.js"],"preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"adunity":{"preconnect":["https://content.adunity.com"],"renderStartImplemented":true},"aduptech":{"prefetch":"https://s.d.adup-tech.com/jsapi","preconnect":["https://d.adup-tech.com","https://m.adup-tech.com","https://v.adup-tech.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"adventive":{"preconnect":["https://ads.adventive.com","https://amp.adventivedev.com"],"renderStartImplemented":true},"adverline":{"prefetch":"https://ads.adverline.com/richmedias/amp.js","preconnect":["https://adnext.fr"],"renderStartImplemented":true},"adverticum":{},"advertserve":{"renderStartImplemented":true},"adyoulike":{"consentHandlingOverride":true,"prefetch":"https://fo-static.omnitagjs.com/amp.js","renderStartImplemented":true},"adzerk":{},"affiliateb":{"prefetch":"https://track.affiliate-b.com/amp/a.js","renderStartImplemented":true},"aja":{"prefetch":["https://cdn.as.amanad.adtdp.com/sdk/asot-amp.js","https://cdn.as.amanad.adtdp.com/sdk/asot-v2.js"],"preconnect":["https://ad.as.amanad.adtdp.com"]},"appvador":{"prefetch":["https://cdn.apvdr.com/js/VastAdUnit.min.js","https://cdn.apvdr.com/js/VideoAd.min.js","https://cdn.apvdr.com/js/VideoAd3PAS.min.js","https://cdn.apvdr.com/js/VideoAdAutoPlay.min.js","https://cdn.apvdr.com/js/VideoAdNative.min.js"],"renderStartImplemented":true},"amoad":{"prefetch":["https://j.amoad.com/js/a.js","https://j.amoad.com/js/n.js"],"preconnect":["https://d.amoad.com","https://i.amoad.com","https://m.amoad.com","https://v.amoad.com"]},"amplified":{"preconnect":"https://srv.clickfuse.com","renderStartImplemented":true},"andbeyond":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":"https://cdn.andbeyond.media"},"aniview":{"renderStartImplemented":true},"anyclip":{"prefetch":"https://player.anyclip.com/anyclip-widget/lre-widget/prod/v1/src/lre.js","preconnect":["https://trafficmanager.anyclip.com","https://lreprx-server.anyclip.com"],"renderStartImplemented":true},"appnexus":{"prefetch":"https://acdn.adnxs.com/ast/ast.js","preconnect":"https://ib.adnxs.com","renderStartImplemented":true},"atomx":{"prefetch":"https://s.ato.mx/p.js"},"avantisvideo":{"renderStartImplemented":true},"beaverads":{"renderStartImplemented":true},"beopinion":{"prefetch":"https://widget.beop.io/sdk.js","preconnect":["https://t.beop.io","https://s.beop.io","https://data.beop.io"],"renderStartImplemented":true},"bidtellect":{},"blade":{"prefetch":"https://sdk.streamrail.com/blade/sr.blade.js","renderStartImplemented":true},"brainy":{},"bringhub":{"renderStartImplemented":true,"preconnect":["https://static.bh-cdn.com","https://core-api.bringhub.io"]},"broadbandy":{"renderStartImplemented":true},"broadstreetads":{"prefetch":"https://cdn.broadstreetads.com/init-2.min.js","renderStartImplemented":true},"byplay":{},"caajainfeed":{"prefetch":["https://cdn.amanad.adtdp.com/sdk/ajaamp.js"],"preconnect":["https://ad.amanad.adtdp.com"]},"capirs":{"renderStartImplemented":true},"caprofitx":{"prefetch":["https://cdn.caprofitx.com/pfx.min.js","https://cdn.caprofitx.com/tags/amp/profitx_amp.js"],"preconnect":"https://ad.caprofitx.adtdp.com"},"cedato":{"renderStartImplemented":true},"chargeads":{},"colombia":{"prefetch":"https://static.clmbtech.com/ad/commons/js/colombia-amp.js"},"colombiafeed":{"prefetch":"https://static.clmbtech.com/c1e/static/themes/js/colombiafeed-amp.js"},"conative":{"renderStartImplemented":true},"connatix":{"renderStartImplemented":true},"contentad":{},"criteo":{"prefetch":"https://static.criteo.net/js/ld/publishertag.js","preconnect":"https://cas.criteo.com"},"csa":{"prefetch":"https://www.google.com/adsense/search/ads.js"},"dable":{"preconnect":["https://static.dable.io","https://api.dable.io","https://images.dable.io"],"renderStartImplemented":true},"dex":{"renderStartImplemented":true},"digiteka":{"renderStartImplemented":true},"directadvert":{"renderStartImplemented":true},"distroscale":{"preconnect":["https://c.jsrdn.com","https://s.jsrdn.com","https://i.jsrdn.com"],"renderStartImplemented":true},"dotandads":{"prefetch":"https://amp.ad.dotandad.com/dotandadsAmp.js","preconnect":"https://bal.ad.dotandad.com"},"dynad":{"preconnect":["https://t.dynad.net","https://tm.jsuol.com.br"]},"eadv":{"renderStartImplemented":true,"clientIdScope":"AMP_ECID_EADV","prefetch":["https://www.eadv.it/track/esr.min.js","https://www.eadv.it/track/ead.min.js"]},"empower":{"prefetch":"https://cdn.empower.net/sdk/amp-ad.min.js","renderStartImplemented":true},"engageya":{},"epeex":{},"eplanning":{"prefetch":"https://us.img.e-planning.net/layers/epl-amp.js"},"exco":{"renderStartImplemented":true},"ezoic":{"prefetch":["https://www.googletagservices.com/tag/js/gpt.js","https://g.ezoic.net/ezoic/ampad.js"],"clientIdScope":"AMP_ECID_EZOIC","consentHandlingOverride":true,"renderStartImplemented":true},"f1e":{"prefetch":"https://img.ak.impact-ad.jp/util/f1e_amp.min.js"},"f1h":{"preconnect":"https://img.ak.impact-ad.jp","renderStartImplemented":true},"fake":{},"fake-delayed":{"renderStartImplemented":true},"feedad":{"clientIdScope":"__fa_amp","prefetch":"https://web.feedad.com/sdk/feedad-async.js","renderStartImplemented":true,"fullWidthHeightRatio":1.7777777777777777,"consentHandlingOverride":true},"felmat":{"prefetch":"https://t.felmat.net/js/fmamp.js","renderStartImplemented":true},"finative":{},"firstimpression":{"prefetch":"https://ecdn.firstimpression.io/static/js/fiamp.js","preconnect":"https://cdn.firstimpression.io","renderStartImplemented":true,"consentHandlingOverride":true},"flite":{},"fluct":{"prefetch":["https://pdn.adingo.jp/p.js"],"preconnect":["https://cdn-fluct.sh.adingo.jp","https://sh.adingo.jp","https://i.adingo.jp"]},"forkmedia":{"renderStartImplemented":true},"freewheel":{"prefetch":"https://cdn.stickyadstv.com/prime-time/fw-amp.min.js","renderStartImplemented":true},"fusion":{"prefetch":"https://assets.adtomafusion.net/fusion/latest/fusion-amp.min.js"},"gecko":{},"genieessp":{"prefetch":"https://js.gsspcln.jp/l/amp.js"},"giraff":{"renderStartImplemented":true},"glomex":{"prefetch":"https://player.glomex.com/integration/1/amp-embed.js"},"gmossp":{"prefetch":"https://cdn.gmossp-sp.jp/ads/amp.js"},"gumgum":{"prefetch":"https://js.gumgum.com/slot.js","renderStartImplemented":true},"holder":{"prefetch":"https://i.holder.com.ua/js2/holder/ajax/ampv1.js","preconnect":"https://h.holder.com.ua","renderStartImplemented":true},"ibillboard":{},"idealmedia":{"renderStartImplemented":true,"preconnect":["https://jsc.idealmedia.io","https://servicer.idealmedia.io","https://s-img.idealmedia.io/"]},"imedia":{"prefetch":"https://i.imedia.cz/js/im3.js","renderStartImplemented":true},"imobile":{"prefetch":"https://spamp.i-mobile.co.jp/script/amp.js","preconnect":"https://spad.i-mobile.co.jp"},"imonomy":{"renderStartImplemented":true},"improvedigital":{},"industrybrains":{"prefetch":"https://web.industrybrains.com/js/ads/async/show.js","preconnect":["https://staticd.cdn.industrybrains.com","https://static.industrybrains.com"],"renderStartImplemented":true},"inmobi":{"prefetch":"https://cf.cdn.inmobi.com/ad/inmobi.secure.js","renderStartImplemented":true},"innity":{"prefetch":"https://cdn.innity.net/admanager.js","preconnect":"https://as.innity.com","renderStartImplemented":true},"insticator":{"preconnect":"https://d3lcz8vpax4lo2.cloudfront.net","renderStartImplemented":true},"insurads":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":["https://tpc.googlesyndication.com","https://adservice.google.com","https://cdn.insurads.com","https://services.insurads.com","https://messaging.insurads.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"invibes":{"prefetch":"https://k.r66net.com/GetAmpLink","renderStartImplemented":true,"consentHandlingOverride":true},"iprom":{"prefetch":"https://cdn.ipromcloud.com/ipromNS.js"},"ix":{"prefetch":["https://js-sec.indexww.com/apl/amp.js"],"preconnect":"https://as-sec.casalemedia.com","renderStartImplemented":true},"jubna":{},"kargo":{},"ketshwa":{},"kiosked":{"renderStartImplemented":true},"jixie":{"prefetch":["https://scripts.jixie.media/jxamp.min.js"],"clientIdScope":"__jxamp","clientIdCookieName":"_jx","renderStartImplemented":true},"kixer":{"prefetch":"https://cdn.kixer.com/ad/load.js","renderStartImplemented":true},"kuadio":{},"lentainform":{"renderStartImplemented":true,"preconnect":["https://jsc.lentainform.com","https://servicer.lentainform.com","https://s-img.lentainform.com"]},"ligatus":{"prefetch":"https://ssl.ligatus.com/render/ligrend.js","renderStartImplemented":true},"lockerdome":{"prefetch":"https://cdn2.lockerdomecdn.com/_js/amp.js","renderStartImplemented":true},"logly":{"preconnect":["https://l.logly.co.jp","https://cdn.logly.co.jp"],"renderStartImplemented":true},"loka":{"prefetch":"https://loka-cdn.akamaized.net/scene/amp.js","preconnect":["https://scene-front.lokaplatform.com","https://loka-materials.akamaized.net"],"renderStartImplemented":true},"luckyads":{"renderStartImplemented":true},"macaw":{"renderStartImplemented":true},"mads":{"prefetch":"https://eu2.madsone.com/js/tags.js"},"mantis-display":{"prefetch":"https://assets.mantisadnetwork.com/mantodea.min.js","preconnect":["https://mantodea.mantisadnetwork.com","https://res.cloudinary.com","https://resize.mantisadnetwork.com"]},"marfeel":{"prefetch":"https://securepubads.g.doubleclick.net/tag/js/gpt.js","preconnect":["https://live.mrf.io","https://tpc.googlesyndication.com","https://fastlane.rubiconproject.com","https://htlb.casalemedia.com","https://prg.smartadserver.com","https://ib.adnxs.com","https://bidder.criteo.com","https://marfeel-d.openx.net","https://ice.360yield.com","https://mbid.marfeelrev.com","https://adservice.google.com"],"consentHandlingOverride":true},"mantis-recommend":{"prefetch":"https://assets.mantisadnetwork.com/recommend.min.js","preconnect":["https://mantodea.mantisadnetwork.com","https://resize.mantisadnetwork.com"]},"mediaad":{},"medianet":{"preconnect":"https://contextual.media.net","renderStartImplemented":true},"mediavine":{"prefetch":"https://amp.mediavine.com/wrapper.min.js","preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"medyanet":{"renderStartImplemented":true},"meg":{"renderStartImplemented":true},"mgid":{"renderStartImplemented":true,"preconnect":["https://jsc.mgid.com","https://servicer.mgid.com","https://s-img.mgid.com"]},"microad":{"prefetch":"https://j.microad.net/js/camp.js","preconnect":["https://s-rtb.send.microad.jp","https://s-rtb.send.microadinc.com","https://cache.send.microad.jp","https://cache.send.microadinc.com","https://deb.send.microad.jp"]},"miximedia":{"renderStartImplemented":true},"mixpo":{"prefetch":"https://cdn.mixpo.com/js/loader.js","preconnect":["https://player1.mixpo.com","https://player2.mixpo.com"]},"monetizer101":{"renderStartImplemented":true},"mox":{"prefetch":["https://ad.mox.tv/js/amp.min.js","https://ad.mox.tv/mox/mwayss_invocation.min.js"],"renderStartImplemented":true},"my6sense":{"renderStartImplemented":true},"myfinance":{"preconnect":["https://a.myfidevs.io","https://static.myfinance.com","https://www.myfinance.com"],"renderStartImplemented":true,"clientIdScope":"AMP_ECID_GOOGLE"},"myoffrz":{"renderStartImplemented":true},"mytarget":{"prefetch":"https://ad.mail.ru/static/ads-async.js","renderStartImplemented":true},"myua":{"renderStartImplemented":true},"mywidget":{"preconnect":"https://likemore-fe.go.mail.ru","prefetch":"https://likemore-go.imgsmail.ru/widget_amp.js","renderStartImplemented":true},"nativeroll":{"prefetch":"https://cdn01.nativeroll.tv/js/seedr-player.min.js"},"nativery":{"preconnect":"https://cdn.nativery.com"},"nativo":{"prefetch":"https://s.ntv.io/serve/load.js"},"navegg":{"renderStartImplemented":true},"nend":{"prefetch":"https://js1.nend.net/js/amp.js","preconnect":["https://output.nend.net","https://img1.nend.net"]},"netletix":{"preconnect":["https://call.netzathleten-media.de"],"renderStartImplemented":true},"noddus":{"prefetch":"https://noddus.com/amp_loader.js","renderStartImplemented":true},"nokta":{"prefetch":"https://static.virgul.com/theme/mockups/noktaamp/ampjs.js","renderStartImplemented":true},"nws":{},"oblivki":{"renderStartImplemented":true},"onead":{"prefetch":"https://ad-specs.guoshipartners.com/static/js/onead-amp.min.js","renderStartImplemented":true},"onnetwork":{"renderStartImplemented":true},"openadstream":{},"openx":{"prefetch":"https://www.googletagservices.com/tag/js/gpt.js","preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"opinary":{"renderStartImplemented":true},"outbrain":{"renderStartImplemented":true,"prefetch":"https://widgets.outbrain.com/widgetAMP/outbrainAMP.min.js","preconnect":["https://odb.outbrain.com"],"consentHandlingOverride":true},"pixels":{"prefetch":"https://cdn.adsfactor.net/amp/pixels-amp.min.js","clientIdCookieName":"__AF","renderStartImplemented":true},"playstream":{"prefetch":"https://app.playstream.media/js/amp.js","renderStartImplemented":true},"plista":{},"polymorphicads":{"prefetch":"https://www.polymorphicads.jp/js/amp.js","preconnect":["https://img.polymorphicads.jp","https://ad.polymorphicads.jp"],"renderStartImplemented":true},"popin":{"renderStartImplemented":true},"postquare":{},"ppstudio":{"renderStartImplemented":true},"pressboard":{"renderStartImplemented":true},"promoteiq":{},"pubexchange":{},"pubguru":{"renderStartImplemented":true},"pubmatic":{"prefetch":"https://ads.pubmatic.com/AdServer/js/amp.js"},"pubmine":{"prefetch":["https://s.pubmine.com/head.js"],"preconnect":"https://delivery.g.switchadhub.com","renderStartImplemented":true},"puffnetwork":{"prefetch":"https://static.puffnetwork.com/amp_ad.js","renderStartImplemented":true},"pulse":{"prefetch":"https://static.pulse.mail.ru/pulse-widget-amp.js","renderStartImplemented":true},"pulsepoint":{"prefetch":"https://ads.contextweb.com/TagPublish/getjs.static.js","preconnect":"https://tag.contextweb.com"},"purch":{"prefetch":"https://ramp.purch.com/serve/creative_amp.js","renderStartImplemented":true},"quoraad":{"prefetch":"https://a.quora.com/amp_ad.js","preconnect":"https://ampad.quora.com","renderStartImplemented":true},"rakutenunifiedads":{"prefetch":"https://s-cdn.rmp.rakuten.co.jp/js/amp.js","renderStartImplemented":true},"rbinfox":{"renderStartImplemented":true},"rcmwidget":{"prefetch":"https://rcmjs.rambler.ru/static/rcmw/rcmw-amp.js","renderStartImplemented":true},"readmo":{"renderStartImplemented":true},"realclick":{"renderStartImplemented":true},"recomad":{"renderStartImplemented":true},"recreativ":{"prefetch":"https://go.rcvlink.com/static/amp.js","renderStartImplemented":true},"relap":{"renderStartImplemented":true},"relappro":{"prefetch":"https://cdn.relappro.com/adservices/amp/relappro.amp.min.js","preconnect":"https://tags.relappro.com","renderStartImplemented":true},"remixd":{"preconnect":"https://tags.remixd.com","renderStartImplemented":true},"revcontent":{"prefetch":"https://labs-cdn.revcontent.com/build/amphtml/revcontent.amp.min.js","preconnect":["https://trends.revcontent.com","https://cdn.revcontent.com","https://img.revcontent.com"],"renderStartImplemented":true},"revjet":{"prefetch":"https://cdn.revjet.com/~cdn/JS/03/amp.js","renderStartImplemented":true},"rfp":{"prefetch":"https://js.rfp.fout.jp/rfp-amp.js","preconnect":"https://ad.rfp.fout.jp","renderStartImplemented":true},"rnetplus":{},"rubicon":{},"runative":{"prefetch":"https://cdn.run-syndicate.com/sdk/v1/n.js","renderStartImplemented":true},"sabavision":{"renderStartImplemented":true},"sas":{"renderStartImplemented":true},"seedingalliance":{},"seedtag":{"prefetch":"https://config.seedtag.com/omid/bridge/bridge.js","preconnect":["https://s.seedtag.com"],"consentHandlingOverride":true,"renderStartImplemented":true},"sekindo":{"renderStartImplemented":true},"sharethrough":{"renderStartImplemented":true},"shemedia":{"prefetch":["https://securepubads.g.doubleclick.net/tag/js/gpt.js","https://ads.shemedia.com/static/amp.js"],"preconnect":["https://partner.googleadservices.com","https://tpc.googlesyndication.com","https://ads.blogherads.com"],"renderStartImplemented":true},"sklik":{"prefetch":"https://c.imedia.cz/js/amp.js"},"slimcutmedia":{"preconnect":["https://sb.freeskreen.com","https://static.freeskreen.com","https://video.freeskreen.com"],"renderStartImplemented":true},"smartads":{"prefetch":"https://smart-ads.biz/amp.js"},"smartadserver":{"prefetch":"https://ec-ns.sascdn.com/diff/js/amp.v0.js","preconnect":"https://static.sascdn.com","renderStartImplemented":true},"smartclip":{"prefetch":"https://cdn.smartclip.net/amp/amp.v0.js","preconnect":"https://des.smartclip.net","renderStartImplemented":true},"smi2":{"renderStartImplemented":true},"smilewanted":{"prefetch":"https://prebid.smilewanted.com/amp/amp.js","preconnect":"https://static.smilewanted.com","renderStartImplemented":true},"sogouad":{"prefetch":"https://theta.sogoucdn.com/wap/js/aw.js","renderStartImplemented":true},"sortable":{"prefetch":"https://www.googletagservices.com/tag/js/gpt.js","preconnect":["https://tags-cdn.deployads.com","https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"sona":{"renderStartImplemented":true},"sovrn":{"prefetch":"https://ap.lijit.com/www/sovrn_amp/sovrn_ads.js"},"speakol":{"renderStartImplemented":true},"spotx":{"preconnect":"https://js.spotx.tv","renderStartImplemented":true},"springAds":{"preconnect":["https://ib.adnxs.com"],"renderStartImplemented":true},"ssp":{"prefetch":"https://ssp.imedia.cz/static/js/ssp.js","renderStartImplemented":true,"consentHandlingOverride":true},"strossle":{"preconnect":["https://amp.spklw.com","https://widgets.sprinklecontent.com","https://images.sprinklecontent.com"]},"sunmedia":{"prefetch":"https://vod.addevweb.com/sunmedia/amp/ads/sunmedia.js","preconnect":"https://static.addevweb.com","renderStartImplemented":true},"svknative":{"renderStartImplemented":true,"prefetch":"https://widget.svk-native.ru/js/embed.js"},"swoop":{"prefetch":"https://www.swoop-amp.com/amp.js","preconnect":["https://www.swpsvc.com","https://client.swpcld.com"],"renderStartImplemented":true},"taboola":{},"tagon":{"prefetch":"https://js.tagon.co/tagon-amp.min.js"},"tail":{"renderStartImplemented":true},"tcsemotion":{"prefetch":"https://ads.tcsemotion.com/www/delivery/amphb.js","renderStartImplemented":true},"teads":{"prefetch":"https://s8t.teads.tv/media/format/v3/teads-format.min.js","preconnect":["https://cdn2.teads.tv","https://a.teads.tv","https://t.teads.tv","https://r.teads.tv"],"consentHandlingOverride":true},"temedya":{"prefetch":["https://widget.cdn.vidyome.com/builds/loader-amp.js","https://vidyome-com.cdn.vidyome.com/vidyome/builds/widgets.js"],"renderStartImplemented":true},"torimochi":{"renderStartImplemented":true},"tracdelight":{"prefetch":"https://scripts.tracdelight.io/amp.js","renderStartImplemented":true},"trafficstars":{"prefetch":"https://cdn.tsyndicate.com/sdk/v1/master.spot.js","renderStartImplemented":true},"triplelift":{},"trugaze":{"clientIdScope":"__tg_amp","renderStartImplemented":true},"uas":{"prefetch":"https://ads.pubmatic.com/AdServer/js/phoenix.js"},"ucfunnel":{"renderStartImplemented":true},"uzou":{"preconnect":["https://speee-ad.akamaized.net"],"renderStartImplemented":true},"unruly":{"prefetch":"https://video.unrulymedia.com/native/native-loader.js","renderStartImplemented":true},"valuecommerce":{"prefetch":"https://amp.valuecommerce.com/amp_bridge.js","preconnect":["https://ad.jp.ap.valuecommerce.com"],"renderStartImplemented":true},"vdoai":{"prefetch":"https://a.vdo.ai/core/dependencies_amp/vdo.min.js","renderStartImplemented":true},"videointelligence":{"preconnect":"https://s.vi-serve.com","renderStartImplemented":true},"videonow":{"renderStartImplemented":true},"viralize":{"renderStartImplemented":true},"vlyby":{"prefetch":"https://cdn.vlyby.com/amp/qad/qad-outer2.js"},"vmfive":{"prefetch":"https://man.vm5apis.com/dist/adn-web-sdk.js","preconnect":["https://vawpro.vm5apis.com","https://vahfront.vm5apis.com"],"renderStartImplemented":true},"webediads":{"prefetch":"https://eu1.wbdds.com/amp.min.js","preconnect":["https://goutee.top","https://mediaathay.org.uk"],"renderStartImplemented":true},"weborama-display":{"prefetch":["https://cstatic.weborama.fr/js/advertiserv2/adperf_launch_1.0.0_scrambled.js","https://cstatic.weborama.fr/js/advertiserv2/adperf_core_1.0.0_scrambled.js"]},"whopainfeed":{"prefetch":"https://widget.infeed.com.ar/widget/widget-amp.js"},"widespace":{},"wisteria":{"renderStartImplemented":true},"wpmedia":{"prefetch":"https://std.wpcdn.pl/wpjslib/wpjslib-amp.js","preconnect":["https://www.wp.pl","https://v.wpimg.pl"],"renderStartImplemented":true},"wunderkind":{"preconnect":["https://tag.wknd.ai","https://api.bounceexchange.com"],"renderStartImplemented":true,"fullWidthHeightRatio":1.3333333333333333},"xlift":{"prefetch":"https://cdn.x-lift.jp/resources/common/xlift_amp.js","renderStartImplemented":true},"yahoo":{"prefetch":"https://s.yimg.com/aaq/ampad/display.js","preconnect":"https://us.adserver.yahoo.com"},"yahoofedads":{"renderStartImplemented":true},"yahoojp":{"prefetch":["https://s.yimg.jp/images/listing/tool/yads/ydn/amp/amp.js","https://yads.c.yimg.jp/js/yads.js"],"preconnect":"https://yads.yahoo.co.jp"},"yahoonativeads":{"renderStartImplemented":true},"yandex":{"prefetch":"https://yandex.ru/ads/system/context.js","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"yektanet":{"preconnect":["https://cdn.yektanet.com","https://cg-sc.yektanet.com","https://native.yektanet.com","https://nfetch.yektanet.net","https://rfetch.yektanet.net","https://scrapper.yektanet.com","https://ua.yektanet.com","https://bfetch.yektanet.com","https://mostatil.cdn.yektanet.com"],"renderStartImplemented":true},"yengo":{"renderStartImplemented":true},"yieldbot":{"prefetch":["https://cdn.yldbt.com/js/yieldbot.intent.amp.js","https://msg.yldbt.com/js/ybmsg.html"],"preconnect":"https://i.yldbt.com"},"yieldmo":{"prefetch":"https://static.yieldmo.com/ym.1.js","preconnect":["https://s.yieldmo.com","https://ads.yieldmo.com"],"renderStartImplemented":true},"yieldone":{"prefetch":"https://img.ak.impact-ad.jp/ic/pone/commonjs/yone-amp.js"},"yieldpro":{"preconnect":"https://creatives.yieldpro.eu","renderStartImplemented":true},"zedo":{"prefetch":"https://ss3.zedo.com/gecko/tag/Gecko.amp.min.js","renderStartImplemented":true},"zen":{"prefetch":"https://zen.yandex.ru/widget-loader","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"zergnet":{},"zucks":{"preconnect":["https://j.zucks.net.zimg.jp","https://sh.zucks.net","https://k.zucks.net","https://static.zucks.net.zimg.jp"]},"baidu":{"prefetch":"https://dup.baidustatic.com/js/dm.js","renderStartImplemented":true},"sulvo":{}}');var Ri="ready-scan",xi=["AMP-AD","AMP-ANALYTICS","AMP-PIXEL","AMP-AD-EXIT"];var ki,ji="AxOH8+XUqIxXfDG7Bxf7YR6oBTF4f73xWZNTyqhrkvIEgEmpxrpX8rzEqe9/yOsCGW9ChT05U9t++yH/aCYKCAgAAACVeyJvcmlnaW4iOiJodHRwczovL2FtcHByb2plY3Qub3JnOjQ0MyIsImZlYXR1cmUiOiJDb252ZXJzaW9uTWVhc3VyZW1lbnQiLCJleHBpcnkiOjE2NDMxNTUxOTksImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWUsInVzYWdlIjoic3Vic2V0In0=",Vi="cls",Oi="clstu",Ci="cls-1",Ni="pc",Li="prerender",Di="visible",zi="hidden",Ui="paused",$i="inactive",Fi=class{constructor(){this.Tt=null}add(t){return this.Tt||(this.Tt=[]),this.Tt.push(t),()=>{this.remove(t)}}remove(t){this.Tt&&E(this.Tt,t)}removeAll(){this.Tt&&(this.Tt.length=0)}fire(t){if(this.Tt)for(var e,i=n(this.Tt,!0);!(e=i()).done;)(0,e.value)(t)}getHandlerCount(){var t,e;return null!==(t=null===(e=this.Tt)||void 0===e?void 0:e.length)&&void 0!==t?t:0}},Hi=class{constructor(){this.Qt=g(),this.di=null}get(t){const e=this.Qt[t];return null==e?null:e}whenSignal(t){var e;let i=null===(e=this.di)||void 0===e?void 0:e[t];if(!i){const e=this.Qt[t];i=null!=e?{promise:"number"==typeof e?Promise.resolve(e):Promise.reject(e)}:new o,this.di||(this.di=g()),this.di[t]=i}return i.promise}signal(t,e){var i;if(null!=this.Qt[t])return;const s=null!=e?e:Date.now();this.Qt[t]=s;const n=null===(i=this.di)||void 0===i?void 0:i[t];null!=n&&n.resolve&&(n.resolve(s),n.resolve=void 0,n.reject=void 0)}rejectSignal(t,e){var i;if(null!=this.Qt[t])return;this.Qt[t]=e;const s=null===(i=this.di)||void 0===i?void 0:i[t];null!=s&&s.reject&&(s.reject(e),s.promise.catch((()=>{})),s.resolve=void 0,s.reject=void 0)}reset(t){var e;this.Qt[t]&&delete this.Qt[t];const i=null===(e=this.di)||void 0===e?void 0:e[t];i&&!i.resolve&&delete this.di[t]}},Bi=["Webkit","webkit","Moz","moz","ms","O","o"],qi={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function Gi(t,e,i){if(es(e))return e;ki||(ki=g());let s=ki[e];if(!s||i){if(s=e,void 0===t[e]){const i=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),n=function(t,e){for(let i=0;i<Bi.length;i++){const s=Bi[i]+e;if(void 0!==t[s])return s}return""}(t,i);void 0!==t[n]&&(s=n)}i||(ki[e]=s)}return s}function Wi(t,e){const{style:i}=t;for(const t in e)i.setProperty(Gi(i,t),String(e[t]),"important")}function Ki(t,e,i,s,n){const r=Gi(t.style,e,n);if(!r)return;const o=s?i+s:i;es(r)?t.style.setProperty(r,o):t.style[r]=o}function Yi(t,e){for(const i in e)Ki(t,i,e[i])}function Ji(t,e){void 0===e&&(e=t.hasAttribute("hidden")),e?t.removeAttribute("hidden"):t.setAttribute("hidden","")}function Xi(t){return`${t}px`}function Qi(t,e){return"number"==typeof t?e(t):t}function Zi(t,e){return t.getComputedStyle(e)||qi}function ts(t,e){for(let i=0;i<e.length;i++)Ki(t,e[i],null)}function es(t){return t.startsWith("--")}function is(t){const e=t[Gi(t,"visibilityState",!0)];if(e)return e;const i=Gi(t,"hidden",!0);return i in t&&t[i]?zi:Di}function ss(t,e){if(!t.addEventListener)return;const i=rs(t);i&&t.addEventListener(i,e)}function ns(t,e){if(!t.removeEventListener)return;const i=rs(t);i&&t.removeEventListener(i,e)}function rs(t){const e=Gi(t,"hidden",!0),i=e.indexOf("Hidden");return-1!=i?e.substring(0,i)+"Visibilitychange":"visibilitychange"}var os=class{static getTop(t){return t.top}static getLocation(t){return t.location}static getDocumentReferrer(t){return t.document.referrer}static getHostname(t){return t.location.hostname}static getUserAgent(t){return t.navigator.userAgent}static getUserLanguage(t){return t.navigator.userLanguage||t.navigator.language}static getDevicePixelRatio(){return self.devicePixelRatio||1}static getSendBeacon(t){if(t.navigator.sendBeacon)return t.navigator.sendBeacon.bind(t.navigator)}static getXMLHttpRequest(t){return t.XMLHttpRequest}static getImage(t){return t.Image}},hs="__AMP__",as="-ampdoc-ext-known",cs="-ampdoc-first-visible",ls="-ampdoc-next-visible",us=class{constructor(t,e,i){this.win=t,this.pi=g(),this.mi=e,this._i=i&&i.signals||new Hi,this.Ai=i&&i.params||g(),this.gi=null,this.Pi={};const s=this.Ai.visibilityState;var n;At(!s||"prerender"===(n=s)||"visible"===n||"hidden"===n||"paused"===n||"inactive"===n),this.vi=i&&i.visibilityState||s||null,this.D=null,this.Ei=new Fi,this.Ti=null,this.Ii=[];const r=this.yi.bind(this);this.mi&&this.Ii.push(this.mi.onVisibilityChanged(r)),ss(this.win.document,r),this.Ii.push((()=>ns(this.win.document,r))),this.yi()}dispose(){(function(t){const e=ve(t);for(const t in e){if(!Object.prototype.hasOwnProperty.call(e,t))continue;const i=e[t];i.sharedInstance||(i.obj?Ae(t,i.obj):i.promise&&i.promise.then((e=>Ae(t,e))))}})(this),this.Ii.forEach((t=>t()))}isSingleDoc(){return At(null)}getParent(){return this.mi}signals(){return this._i}getParam(t){const e=this.Ai[t];return null==e?null:e}getMeta(){return this.gi||(this.gi=g(),zt(this.win.document.head.querySelectorAll("meta[name]"),(t=>{const e=t.getAttribute("name"),i=t.getAttribute("content");e&&null!==i&&void 0===this.gi[e]&&(this.gi[e]=i)}))),g(this.gi)}getMetaByName(t){if(!t)return null;const e=this.getMeta()[t];return void 0!==e?e:null}setMetaByName(t,e){At(null)}declaresExtension(t,e){const i=this.Pi[t];return!(!i||e&&i!==e)}declareExtension(t,e){At(!this.Pi[t]||this.Pi[t]===e),this.Pi[t]=e}getExtensionVersion(t){return this.Pi[t]||null}setExtensionsKnown(){this._i.signal(as)}whenExtensionsKnown(){return this._i.whenSignal(as)}getRootNode(){return At(null)}getHeadNode(){}isBodyAvailable(){return At(!1)}getBody(){return At(null)}waitForBodyOpen(){return At(null)}isReady(){return At(null)}whenReady(){return At(null)}getUrl(){return At(null)}getElementById(t){return this.getRootNode().getElementById(t)}contains(t){return this.getRootNode().contains(t)}overrideVisibilityState(t){this.vi!=t&&(this.vi=t,this.yi())}yi(){const t=is(this.win.document);let e,i=Di;for(let t=this.mi;t;t=t.getParent())if(t.getVisibilityState()!=Di){i=t.getVisibilityState();break}const s=this.vi||Di;if(e=s==Di&&i==Di&&t==Di?Di:t==zi&&s==Ui?t:s==Ui||s==$i?s:i==Ui||i==$i?i:s==Li||t==Li||i==Li?Li:zi,this.D!=e){if(e==Di){var n;const{performance:t}=this.win;let e=Math.floor(null!==(n=t.timeOrigin)&&void 0!==n?n:t.timing.navigationStart);null!=this.D&&(e+=Math.floor(t.now())),this.Ti=e,this._i.signal(cs,e),this._i.signal(ls,e)}else this._i.reset(ls);this.D=e,this.Ei.fire()}}whenFirstVisible(){return this._i.whenSignal(cs).then((()=>{}))}whenNextVisible(){return this._i.whenSignal(ls).then((()=>{}))}getFirstVisibleTime(){return this._i.get(cs)}getLastVisibleTime(){return this.Ti}getVisibilityState(){return At(this.D)}isVisible(){return this.D==Di}hasBeenVisible(){return null!=this.getLastVisibleTime()}onVisibilityChanged(t){return this.Ei.add(t)}registerSingleton(t){return!this.pi[t]&&(this.pi[t]=!0,!0)}},ds=class extends us{constructor(t,e){super(t,null,e),this.Mi=this.win.document.body?Promise.resolve(this.win.document.body):Vt(this.win.document).then((()=>this.getBody())),this.Ri=fi(this.win.document)}isSingleDoc(){return!0}getRootNode(){return this.win.document}getUrl(){return os.getLocation(this.win).href}getHeadNode(){return this.win.document.head}isBodyAvailable(){return!!this.win.document.body}getBody(){return this.win.document.body}waitForBodyOpen(){return this.Mi}isReady(){return ui(this.win.document)}whenReady(){return this.Ri}},ps=class extends us{constructor(t,e,i,s){super(t,null,s),this.bi=e,this.wi=i,this.Vi=null;const n=new o;this.Mi=n.promise,this.Si=n.resolve,this.xi=!1;const r=new o;this.Ri=r.promise,this.Oi=r.resolve}isSingleDoc(){return!1}getRootNode(){return this.wi}getUrl(){return this.bi}getHeadNode(){return this.wi}isBodyAvailable(){return!!this.Vi}getBody(){return this.Vi}setBody(t){At(!this.Vi),this.Vi=t,this.Si(t),this.Si=void 0}waitForBodyOpen(){return this.Mi}isReady(){return this.xi}setReady(){At(!this.xi),this.xi=!0,this.Oi(),this.Oi=void 0}whenReady(){return this.Ri}getMeta(){return g(this.gi)}setMetaByName(t,e){At(t),this.gi||(this.gi=g()),this.gi[t]=e}},ms=class extends us{constructor(t,e,i,s){super(t,i,s),this.bi=e,this.Mi=this.win.document.body?Promise.resolve(this.win.document.body):Vt(this.win.document).then((()=>this.getBody())),this.xi=!1;const n=new o;this.Ri=n.promise,this.Oi=n.resolve}isSingleDoc(){return!1}getRootNode(){return this.win.document}getUrl(){return this.bi}getHeadNode(){return this.win.document.head}isBodyAvailable(){return!!this.win.document.body}getBody(){return this.win.document.body}waitForBodyOpen(){return this.Mi}isReady(){return this.xi}whenReady(){return this.Ri}setReady(){At(!this.xi),this.xi=!0,this.Oi(),this.Oi=void 0}};function fs(t,e){const i=g();return e?Object.assign(i,e):(t.name&&0==t.name.indexOf(hs)&&Object.assign(i,Y(t.name.substring(hs.length))),t.location&&t.location.hash&&Object.assign(i,Y(t.location.hash))),i}var gs="nodisplay",vs="fixed",_s="fixed-height",As="responsive",ys="container",Ps="fill",bs="flex-item",Is="fluid",ws="intrinsic",Es=/^amp\-(video|.+player)|AMP-BRIGHTCOVE|AMP-DAILYMOTION|AMP-YOUTUBE|AMP-VIMEO|AMP-IMA-VIDEO/i;function Ts(t){if("nodisplay"===(e=t)||"fixed"===e||"fixed-height"===e||"responsive"===e||"container"===e||"fill"===e||"flex-item"===e||"fluid"===e||"intrinsic"===e)return t;var e}function Ss(t){return"i-amphtml-layout-"+t}function Ms(t){return t==vs||t==_s||t==As||t==Ps||t==bs||t==Is||t==ws}function Rs(t){return"number"==typeof t?t+"px":t&&/^\d+(\.\d+)?(px|em|rem|vh|vw|vmin|vmax|cm|mm|q|in|pc|pt)?$/.test(t)?/^\d+(\.\d+)?$/.test(t)?t+"px":t:void 0}function xs(t){!function(t){z(/^\d+(\.\d+)?(px|em|rem|vh|vw|vmin|vmax|cm|mm|q|in|pc|pt)$/.test(null!=t?t:""),"Invalid length value: %s",t)}(t);const e=/[a-z]+/i.exec(null!=t?t:"");return z(e,"Failed to read units from %s",t),e[0]}function ks(t){const e=parseFloat(t);return M(e)?e:void 0}function js(t,e){t.classList.add("i-amphtml-fill-content"),e&&t.classList.add("i-amphtml-replaced-content")}function Vs(t,e,i,s){for(var r,o=n(I(t),!0);!(r=o()).done;){const t=r.value,n=e.getAttribute(t);null!==n?i.setAttribute(t,n):s&&i.removeAttribute(t)}}var Os,Cs="amp:attached",Ns="amp:load-start",Ls="amp:load-end",Ds="ready-upgrade",zs="upgraded",Us="built",$s="mounted",Fs="load-start",Hs="render-start",Bs="load-end",qs="unload";function Gs(t,e){return[{query:t.matchMedia(e),value:"1"},{query:null,value:""}]}function Ws(t,e){return e.split(",").map((e=>{if(0==(e=e.replace(/\s+/g," ").trim()).length)return;let i,s,n;if(")"==e.charAt(e.length-1)){let t=1;for(n=e.length-2;n>=0;n--){const i=e.charAt(n);if("("==i?t--:")"==i&&t++,0==t)break}const i=n-1;if(n>0)for(n--;n>=0;n--){const t=e.charAt(n);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(n>=i)return null}else for(n=e.length-2;n>=0;n--){const t=e.charAt(n);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return n>=0?(i=e.substring(0,n+1).trim(),s=e.substring(n+1).trim()):(s=e,i=void 0),s?{query:i?t.matchMedia(i):null,value:s}:null})).filter(Boolean)}function Ks(t,e,i){for(let s=0;s<t.length;s++){const{query:n}=t[s];n&&(void 0!==n.onchange?n.onchange=i?e:null:i?n.addListener(e):n.removeListener(e))}}function Ys(t){const e=t.ownerDocument||t;return Os&&Os.ownerDocument===e||(Os=e.createElement("div")),Js}function Js(t){return function(t,e){C(1===e.length),t.innerHTML=e[0];const i=t.firstElementChild;return C(i),C(!i.nextElementSibling),t.removeChild(i),i}(Os,t)}var Xs=['<i-amphtml-sizer class=i-amphtml-sizer slot=i-amphtml-svc><img alt="" role=presentation aria-hidden=true class=i-amphtml-intrinsic-sizer></i-amphtml-sizer>'],Qs={"AMP-PIXEL":{width:"0px",height:"0px"},"AMP-ANALYTICS":{width:"1px",height:"1px"},"AMP-AUDIO":null,"AMP-SOCIAL-SHARE":{width:"60px",height:"44px"}};function Zs(t){const e=t.getAttribute("layout"),i=t.getAttribute("width"),s=t.getAttribute("height"),n=t.getAttribute("sizes"),r=t.getAttribute("heights"),o=e?Ts(e):null;z(void 0!==o,'Invalid "layout" value: %s, %s',e,t);const h=i&&"auto"!=i?Rs(i):i;z(void 0!==h,'Invalid "width" value: %s, %s',i,t);const a=s&&"fluid"!=s?Rs(s):s;let c,l,u;if(z(void 0!==a,'Invalid "height" value: %s, %s',s,t),o&&o!=vs&&o!=_s||h&&a||(d=(d=t.tagName).toUpperCase(),void 0===Qs[d]))c=h,l=a;else{const e=function(t){const e=t.tagName.toUpperCase();if(C(void 0!==Qs[e]),!Qs[e]){const i=t.ownerDocument,s=e.replace(/^AMP\-/,""),n=i.createElement(s);n.controls=!0,Yi(n,{position:"absolute",visibility:"hidden"}),i.body.appendChild(n),Qs[e]={width:(n.offsetWidth||1)+"px",height:(n.offsetHeight||1)+"px"},i.body.removeChild(n)}return Qs[e]}(t);c=h||o==_s?h:e.width,l=a||e.height}var d;return u=o||(c||l?"fluid"==l?Is:!l||c&&"auto"!=c?l&&c&&(n||r)?As:vs:_s:ys),u!=vs&&u!=_s&&u!=As&&u!=ws||z(l,'The "height" attribute is missing: %s',t),u==_s&&z(!c||"auto"==c,'The "width" attribute must be missing or "auto": %s',t),u!=vs&&u!=As&&u!=ws||z(c&&"auto"!=c,'The "width" attribute must be present and not "auto": %s',t),u==As||u==ws?z(xs(c)==xs(l),'Length units should be the same for "width" and "height": %s, %s, %s',i,s,t):z(null===r,'"heights" attribute must be missing: %s',t),{layout:u,width:c,height:l}}var tn={"amp-dynamic-css-classes":"[custom-element=amp-dynamic-css-classes]","variant":"amp-experiment","amp-story-render":"amp-story[standalone]"};function en(t){const e=t.document;return At(e.body),Object.keys(tn).filter((t=>e.querySelector(tn[t])))}function sn(t,e,i,s,n){const r=t.getHeadNode(),o=function(t,e,i,s){let n=t.__AMP_CSS_SM;n||(n=t.__AMP_CSS_SM=g());const r=!i&&s&&"amp-custom"!=s&&"amp-keyframes"!=s,o=i?"amp-runtime":r?`amp-extension=${s}`:null;if(o){const i=nn(t,n,o);if(i)return"STYLE"==i.tagName&&i.textContent!==e&&(i.textContent=e),i}const h=(t.ownerDocument||t).createElement("style");h.textContent=e;let a=null;return i?h.setAttribute("amp-runtime",""):r?(h.setAttribute("amp-extension",s||""),a=nn(t,n,"amp-runtime")):(s&&h.setAttribute(s,""),a=t.lastChild),function(t,e,i=null){if(!i)return void function(t,e){t.insertBefore(e,t.firstChild)}(t,e);const s=i.nextSibling;t.insertBefore(e,s)}(t,h,a),o&&(n[o]=h),h}(r,function(t,e){const i=t.__AMP_CSS_TR;return i?i(e):e}(r,e),s||!1,n||null);if(i){const e=t.getRootNode();if(an(e,o))return i(o),o;const s=setInterval((()=>{an(e,o)&&(clearInterval(s),i(o))}),4)}return o}function nn(t,e,i){if(e[i])return e[i];const s=t.querySelector(`style[${i}], link[${i}]`);return s?(e[i]=s,s):null}var rn=!1;function on(t){At(t.defaultView),rn||(rn=!0,hn(t))}function hn(t){Yi(t.body,{opacity:1,visibility:"visible","animation":"none"})}function an(t,e){const i=t.styleSheets;for(let t=0;t<i.length;t++)if(i[t].ownerNode==e)return!0;return!1}var cn,ln=new Set(["c","v","a","ad"]),un="__amp_source_origin",dn=t=>"string"==typeof t?pn(t):t;function pn(t,e){return cn||(cn=self.document.createElement("a")),mn(cn,t)}function mn(t,e,i){return t.href="",new URL(e,t.href)}function fn(t,e,i){if(!e)return t;const s=t.split("#",2),n=s[0].split("?",2);let r=n[0]+(n[1]?i?`?${e}&${n[1]}`:`?${n[1]}&${e}`:`?${e}`);return r+=s[1]?`#${s[1]}`:"",r}function gn(t,e){return`${encodeURIComponent(t)}=${encodeURIComponent(e)}`}function vn(t,e){return fn(t,_n(e))}function _n(t){const e=[];for(const i in t){let s=t[i];if(null!=s){s=I(s);for(let t=0;t<s.length;t++)e.push(gn(i,s[t]))}}return e.join("&")}function An(t){return"https:"==(t=dn(t)).protocol||"localhost"==t.hostname||"127.0.0.1"==t.hostname||function(t,e){const i=t.length-e.length;return i>=0&&t.indexOf(e,i)==i}(t.hostname,".localhost")}function yn(t,e,i="source"){return yt(null!=t,"%s %s must be available",e,i),yt(An(t)||/^\/\//.test(t),'%s %s must start with "https://" or "//" or be relative and served from either https or from localhost. Invalid value: %s',e,i,t),t}function Pn(t){const e=t.indexOf("#");return-1==e?t:t.substring(0,e)}function bn(t){return et.cdnProxyRegex.test(dn(t).origin)}function In(t){return!(t&&G.includes(dn(t).protocol))}function wn(t){const{hash:e,origin:i,pathname:s,search:n}=pn(t);return i+s+En(n)+e}function En(t){return function(t,e){if(!t||"?"==t)return"";const i=new RegExp("[?&](amp_(js[^&=]*|gsa|r|kit)|usqp)\\b[^&]*","g"),s=t.replace(i,"").replace(/^[?&]/,"");return s?"?"+s:""}(t)}function Tn(t){if(!bn(t=dn(t)))return t.href;const e=t.pathname.split("/"),i=e[1];yt(ln.has(i),"Unknown path prefix in url %s",t.href);const s=e[2],n="s"==s?"https://"+decodeURIComponent(e[3]):"http://"+decodeURIComponent(s);return yt(n.indexOf(".")>0,"Expected a . in origin %s",n),e.splice(1,"s"==s?3:2),n+e.join("/")+En(t.search)+(t.hash||"")}function Sn(t){return pn(Tn(t)).origin}function Mn(t,e){return e=dn(e),new URL(t,e.href).toString()}function Rn(t,e){return xn(e),function(t,e,i,s){return fn(t,gn("__amp_source_origin",i),void 0)}(e,0,Sn(t.location.href))}function xn(t){const e=Y(pn(t).search);yt(!(un in e),"Source origin is not allowed in %s",t)}var kn="CANCELLED",jn="BLOCK_BY_CONSENT",Vn=self.__AMP_ERRORS||[];self.__AMP_ERRORS=Vn;var On=function(t){return(On=function(t){const e=function(t){let e=0;return()=>{let t=Math.pow(1.5,e++);return t+=function(t,e){let i=t*(e=e||.3)*Math.random();return Math.random()>.5&&(i*=-1),i}(t),1e3*t}}();return t=>setTimeout(t,e())}())(t)};function Cn(t,e){try{let i;if(t)if(void 0!==t.message)t=a(t),i=!0;else{const e=t;(t=new Error(function(t){try{return JSON.stringify(t)}catch(e){return String(t)}}(e))).origError=e}else t=new Error("Unknown error");if(t.reported)return t;if(t.reported=!0,t.messageArray){const e=function(t,e){for(let e=0;e<t.length;e++)if(null==(i=t[e])?void 0:i.tagName)return e;var i;return-1}(t.messageArray);e>-1&&(t.associatedElement=t.messageArray[e])}const s=e||t.associatedElement;if(s&&s.classList&&s.classList.add("i-amphtml-error"),self.console&&(j(t.message)||!t.expected)){const e=console.error||console.log;t.messageArray?e.apply(console,t.messageArray):s?e.call(console,t.message,s):e.call(console,t.message)}s&&s.dispatchCustomEventForTesting&&s.dispatchCustomEventForTesting("amp:error",t.message),Dn.call(self,void 0,void 0,void 0,void 0,t)}catch(t){setTimeout((function(){throw t}))}return t}function Nn(){return new Error(kn)}function Ln(t){return!!t&&("string"==typeof t?t.startsWith(jn):"string"==typeof t.message&&t.message.startsWith(jn))}function Dn(t,e,i,s,n){!this||!this.document||n&&n.expected||on(this.document);let o=!1;try{o=function(t){if(!t.document)return!1;const e=t.document.querySelectorAll("script[src]");for(let t=0;t<e.length;t++)if(!bn(e[t].src.toLowerCase()))return!0;return!1}(self)}catch(t){}if(o&&Math.random()>.01)return;const h=function(t,e,i,s,n,r){t=function(t,e){return e&&(t=e.message?e.message:String(e)),t||(t="Unknown error"),t}(t,n);let o=!(!n||!n.expected);if(/_reported_/.test(t))return;if(t==kn)return;const h=!(self&&self.window),a=Math.random();if((function(t){return-1!=t.indexOf(_i)}(t)||"Script error."==t||h)&&(o=!0,a>.001))return;const c=j(t);if(c&&a>.1)return;const l=Object.create(null);l.v=nt().rtvVersion,l.noAmp=r?"1":"0",l.m=t.replace(R,""),l.a=c?"1":"0",l.ex=o?"1":"0",l.dw=h?"1":"0";let u="1p";var d,p;if(u="esm",l.esm="1",l.rt="esm",l.ca=null!==(p=self.AMP_CONFIG)&&void 0!==p&&p.canary?"1":"0",l.bt=(null===(d=self.AMP_CONFIG)||void 0===d?void 0:d.type)||"unknown",self.location.ancestorOrigins&&self.location.ancestorOrigins[0]&&(l.or=self.location.ancestorOrigins[0]),self.viewerState&&(l.vs=self.viewerState),self.parent&&self.parent!=self&&(l.iem="1"),self.AMP&&self.AMP.viewer){const t=self.AMP.viewer.getResolvedViewerUrl(),e=self.AMP.viewer.maybeGetMessagingOrigin();t&&(l.rvu=t),e&&(l.mso=e)}const m=[],f=self[Ie]||null;for(const t in f){const e=f[t];m.push(`${t}=${e?"1":"0"}`)}var g,v,_;return l.exps=m.join(","),n?(l.el=(null===(g=n.associatedElement)||void 0===g?void 0:g.tagName)||"u",n.args&&(l.args=JSON.stringify(n.args)),c||n.ignoreStack||!n.stack||(l.s=n.stack),n.message&&(n.message+=" _reported_")):(l.f=e||"",l.l=i||"",l.c=s||""),l.r=self.document?self.document.referrer:"",l.ae=Vn.join(","),l.fr=self.location.originalHash||self.location.hash,"production"===l.bt&&(l.pt="1"),_=t,(v=Vn).length>=25&&v.splice(0,v.length-25+1),v.push(_),l}(t,e,i,s,n,o);h&&On((()=>{try{return function(t,e){return e.pt&&Math.random()<.9?r():function(t,e){const i=Ue(t);if(!i.isSingleDoc())return Promise.resolve(!1);const s=i.getSingleDoc();if(!s.getRootNode().documentElement.hasAttribute("report-errors-to-viewer"))return Promise.resolve(!1);const n=ei(s);return n.hasCapability("errorReporter")?n.isTrustedViewer().then((t=>{return!!t&&(n.sendMessage("error",{"m":(i=e).m,"a":i.a,"s":i.s,"el":i.el,"ex":i.ex,"v":i.v,"pt":i.pt}),!0);var i})):Promise.resolve(!1)}(t,e).then((t=>{if(!t){const t=new XMLHttpRequest;t.open("POST",Math.random()<.1?et.betaErrorReporting:et.errorReporting,!0),t.send(JSON.stringify(e))}}))}(this,h).catch((()=>{}))}catch(t){}}))}var zn="Resource",Un=class{static forElement(t){return At(Un.forElementOptional(t))}static forElementOptional(t){return t.__AMP__RESOURCE}static setOwner(t,e){At(e.contains(t)),Un.forElementOptional(t)&&Un.forElementOptional(t).updateOwner(e),t.__AMP__OWNER=e;const i=t.getElementsByClassName("i-amphtml-element");for(let t=0;t<i.length;t++){const e=i[t];Un.forElementOptional(e)&&Un.forElementOptional(e).updateOwner(void 0)}}constructor(t,e,i){e.__AMP__RESOURCE=this,this.Ci=t,this.element=e,this.debugid=e.tagName.toLowerCase()+"#"+t,this.hostWin=e.ownerDocument.defaultView,this.ki=i,this.Ni=e.hasAttribute("placeholder"),this.Di=!1,this.Li=void 0,this.Ui=e.isBuilt()?1:0,0==this.Ui&&e.isBuilding()&&this.build(),this.$i=-1,this.Fi=0,this.Bi=null,this.Hi=null,this.ji=!1,this.zi=Gt(-1e4,-1e4,0,0),this.Gi=null,this.qi=!1,this.Wi=null,this.Ki=null,this.Yi=void 0;const s=new o;this.Ji=s.promise,this.Qi=s.resolve,this.Xi=!1}getId(){return this.Ci}updateOwner(t){this.Li=t}getOwner(){if(void 0===this.Li){for(let t=this.element;t;t=t.parentElement)if(t.__AMP__OWNER){this.Li=t.__AMP__OWNER;break}void 0===this.Li&&(this.Li=null)}return this.Li}hasOwner(){return!!this.getOwner()}getLayoutPriority(){return-1!=this.$i?this.$i:this.element.getLayoutPriority()}updateLayoutPriority(t){this.$i=t}getState(){return this.Ui}isBuilt(){return this.element.isBuilt()}isBuilding(){return this.Di}whenBuilt(){return this.element.signals().whenSignal("res-built")}build(){return this.Di||!this.element.isUpgraded()?null:(this.Di=!0,this.element.buildInternal().then((()=>{this.Di=!1,this.Ui=1,this.element.signals().signal("res-built")}),(t=>{throw this.maybeReportErrorOnBuildFailure(t),this.Di=!1,this.element.signals().rejectSignal("res-built",t),t})))}maybeReportErrorOnBuildFailure(t){Ln(t)||_t().error(zn,"failed to build:",this.debugid,t)}changeSize(t,e,i){this.element.applySize(t,e,i),this.requestMeasure()}overflowCallback(t,e,i,s){t&&(this.Yi={height:e,width:i,margins:s}),this.element.overflowCallback(t,e,i,s)}resetPendingChangeSize(){this.Yi=void 0}getPendingChangeSize(){return this.Yi}getUpgradeDelayMs(){return this.element.getUpgradeDelayMs()}measure(){if(this.Ni&&this.element.parentElement&&this.element.parentElement.tagName.startsWith("AMP-")&&!("__AMP__RESOURCE"in this.element.parentElement))return;if(!this.element.ownerDocument||!this.element.ownerDocument.defaultView)return void(this.Ui=1);this.qi=!1;const t=this.zi;this.Zi();const e=this.zi,i=(n=e,!((s=t).width==n.width&&s.height===n.height));var s,n;(1==this.Ui||t.top!=e.top||i)&&this.element.isUpgraded()&&(1==this.Ui?this.Ui=2:4!=this.Ui&&5!=this.Ui||!this.element.isRelayoutNeeded()||(this.Ui=2)),this.hasBeenMeasured()||(this.Gi=e),this.element.updateLayoutBox(e,i)}ensureMeasured(){return this.hasBeenMeasured()?r():ii(this.hostWin).measure((()=>this.measure()))}Zi(){const t=si(this.element);this.zi=t.getLayoutRect(this.element);let e=!1;if(t.supportsPositionFixed()&&this.isDisplayed()){const{win:i}=this.ki.getAmpdoc(),{body:s}=i.document;for(let n=this.element;n&&n!=s;n=n.offsetParent){if(n.isAlwaysFixed&&n.isAlwaysFixed()){e=!0;break}if(t.isDeclaredFixed(n)&&"fixed"==Zi(i,n).position){e=!0;break}}}this.ji=e,e&&(this.zi=Kt(this.zi,-t.getScrollLeft(),-t.getScrollTop()))}completeCollapse(){Ji(this.element,!1),this.zi=Gt(this.zi.left,this.zi.top,0,0),this.ji=!1,this.element.updateLayoutBox(this.getLayoutBox());const t=this.getOwner();t&&t.collapsedCallback(this.element)}completeExpand(){Ji(this.element,!0),this.requestMeasure()}isMeasureRequested(){return this.qi}hasBeenMeasured(){return!!this.Gi}requestMeasure(){this.qi=!0}getLayoutSize(){return function(t){const{height:e,width:i}=t;return{width:i,height:e}}(this.zi)}getLayoutBox(){if(!this.ji)return this.zi;const t=si(this.element);return Kt(this.zi,t.getScrollLeft(),t.getScrollTop())}getInitialLayoutBox(){return this.Gi||this.zi}isDisplayed(){if(!this.element.ownerDocument||!this.element.ownerDocument.defaultView)return!1;const t=this.element.getLayout()==Is,e=this.getLayoutBox(),i=e.height>0&&e.width>0;return t||i}isFixed(){return this.ji}overlaps(t){return i=t,(e=this.getLayoutBox()).top<=i.bottom&&i.top<=e.bottom&&e.left<=i.right&&i.left<=e.right;var e,i}prerenderAllowed(){return this.element.prerenderAllowed()}isBuildRenderBlocking(){return this.element.isBuildRenderBlocking()}whenWithinViewport(t){if(At(!1!==t),!this.isLayoutPending()||!0===t)return r();const e=t,i=String(e);return this.Wi&&this.Wi[i]?this.Wi[i].promise:this.isWithinViewportRatio(e)?r():(this.Wi=this.Wi||{},this.Wi[i]=new o,this.Wi[i].promise)}ts(){if(!this.Wi)return;const t=this.getDistanceViewportRatio();for(const e in this.Wi)this.isWithinViewportRatio(parseFloat(e),t)&&(this.Wi[e].resolve(),delete this.Wi[e])}getDistanceViewportRatio(){const t=si(this.element).getRect(),e=this.getLayoutBox(),i=this.ki.getScrollDirection();let s=1,n=0;if(t.right<e.left||t.left>e.right)return{distance:!1};if(t.bottom<e.top)n=e.top-t.bottom,-1==i&&(s=2);else{if(!(t.top>e.bottom))return{distance:!0};n=t.top-e.bottom,1==i&&(s=2)}return{distance:n,scrollPenalty:s,viewportHeight:t.height}}isWithinViewportRatio(t,e){if("boolean"==typeof t)return t;const{distance:i,scrollPenalty:s,viewportHeight:n}=e||this.getDistanceViewportRatio();return"boolean"==typeof i?i:i<n*t/s}renderOutsideViewport(){return this.ts(),this.hasOwner()||this.isWithinViewportRatio(this.element.renderOutsideViewport())}idleRenderOutsideViewport(){return this.isWithinViewportRatio(this.element.idleRenderOutsideViewport())}layoutScheduled(t){this.Ui=3,this.element.layoutScheduleTime=t}layoutCanceled(){this.Ui=this.hasBeenMeasured()?2:1}startLayout(){if(this.Ki)return this.Ki;if(4==this.Ui)return r();if(5==this.Ui)return Promise.reject(this.Hi);if(At(0!=this.Ui),At(this.isDisplayed()),3!=this.Ui){const t=_t().createError("startLayout called but not LAYOUT_SCHEDULED","currently: ",this.Ui);return Cn(t,this.element),Promise.reject(t)}if(this.Fi>0&&!this.element.isRelayoutNeeded())return this.Ui=4,r();this.Fi++,this.Ui=3,this.Bi=new AbortController;const{signal:t}=this.Bi,e=new Promise(((e,i)=>{ii(this.hostWin).mutate((()=>{let s;try{s=this.element.layoutCallback(t)}catch(t){i(t)}Promise.resolve(s).then(e,i)})),t.onabort=()=>i(Nn())})).then((()=>this.ss(!0,t)),(e=>this.ss(!1,t,e)));return this.Ki=e}ss(t,e,i){if(this.Bi=null,e.aborted){const t=_t().createError("layoutComplete race");throw t.associatedElement=this.element,_t().expectedError(zn,t),Nn()}if(this.Qi&&(this.Qi(),this.Qi=null),this.Ki=null,this.Ui=t?4:5,this.Hi=i,!t)return Promise.reject(i)}isLayoutPending(){return 4!=this.Ui&&5!=this.Ui}loadedOnce(){return this.element.R1()?this.element.whenLoaded():this.Ji}isInViewport(){return this.Xi&&this.ts(),this.Xi}setInViewport(t){this.Xi=t}unlayout(){0!=this.Ui&&1!=this.Ui&&2!=this.Ui&&(this.Bi&&(this.Bi.abort(),this.Bi=null),this.setInViewport(!1),this.element.unlayoutCallback()&&(this.element.togglePlaceholder(!0),this.Ui=1,this.Fi=0,this.Ki=null))}getTaskId(t){return this.debugid+"#"+t}pause(){this.element.pause()}pauseOnRemove(){this.element.pause()}resume(){this.element.resume()}unload(){this.element.unmount()}disconnect(){delete this.element.__AMP__RESOURCE,this.element.disconnect(!0)}},$n="scheduler",Fn="250% 31.25%";function Hn(t){return ie(t,$n,class{constructor(t){this.es=t;const{win:e}=t;this.ns=new e.IntersectionObserver((t=>this.rs(t)),{root:$t(e)?e.document:null,rootMargin:Fn}),this.hs=new Map,this.os=new Map,this.us=[],this.ls=!1,t.whenReady().then((()=>this.cs())),this.ds=t.onVisibilityChanged((()=>this.fs()))}dispose(){this.ns.disconnect(),this.os.clear(),this.ds&&(this.ds(),this.ds=null)}scheduleAsap(t){this.os.set(t,{asap:!0,isIntersecting:!1}),this.ps(t)}schedule(t){this.os.has(t)||(t.deferredMount()?(this.os.set(t,{asap:!1,isIntersecting:!1}),this.ns.observe(t),this.hs.size>0&&this.hs.forEach(((e,i)=>{Ht(i,t)&&e.observe(t)}))):this.os.set(t,{asap:!1,isIntersecting:!0}),this.ps(t))}unschedule(t){this.os.has(t)&&(this.os.delete(t),this.ns.unobserve(t),this.hs.size>0&&this.hs.forEach((e=>{e.unobserve(t)})),this.us&&(E(this.us,t),this.cs()))}setContainer(t,e){if(this.hs.has(t))return;const{win:i}=this.es,s=new i.IntersectionObserver((t=>this.rs(t)),{root:e||t,rootMargin:Fn});this.hs.set(t,s),this.os.forEach((({asap:e},i)=>{!e&&Ht(t,i)&&s.observe(i)}))}removeContainer(t){const e=this.hs.get(t);e&&(e.disconnect(),this.hs.delete(t))}_s(){if(this.es.isReady()&&!this.ls){this.ls=!0;const{win:t}=this.es;t.setTimeout((()=>{this.es.signals().signal(Ri)}),50)}}fs(){const t=this.es.getVisibilityState();t!=Di&&t!=zi&&t!=Li||this.os.forEach(((t,e)=>this.As(e)))}ps(t){const e=this.us;e?(e.includes(t)||e.push(t),this.cs()):this.As(t)}cs(){const t=this.es.isReady(),e=this.us;if(e)for(let i=0;i<e.length;i++){const s=e[i];(t||Dt(s,this.es.getRootNode()))&&(e.splice(i--,1),this.As(s))}t&&(this.us=null,this._s())}rs(t){for(let e=0;e<t.length;e++){const{isIntersecting:i,target:s}=t[e],n=s,r=this.os.get(n);if(!r)continue;const o=i||r.isIntersecting;o!==r.isIntersecting&&this.os.set(n,{asap:r.asap,isIntersecting:o}),o&&this.As(n)}}As(t){const e=this.us,i=!(e&&e.includes(t)),{asap:s,isIntersecting:n}=this.os.get(t)||{asap:!1,isIntersecting:!1},r=this.es.getVisibilityState();if(!i||!s&&!n||!(r==Di||r==zi||r==Li&&t.prerenderAllowed()))return;this.unschedule(t);const{win:o}=this.es;(s||t.getBuildPriority()<=0?o.setTimeout:o.requestIdleCallback||o.setTimeout)((()=>t.mountInternal()))}}),re(t,$n)}var Bn=class{constructor(){this.gs=[]}peek(){const t=this.length;return t?this.gs[t-1].item:null}enqueue(t,e){if(isNaN(e))throw new Error("Priority must not be NaN.");const i=this.Ps(e);this.gs.splice(i,0,{item:t,priority:e})}Ps(t){let e=-1,i=0,s=this.length;for(;i<=s&&(e=Math.floor((i+s)/2),e!==this.length);)if(this.gs[e].priority<t)i=e+1;else{if(!(e>0&&this.gs[e-1].priority>=t))break;s=e-1}return e}forEach(t){let e=this.length;for(;e--;)t(this.gs[e].item)}dequeue(){const t=this.gs.pop();return t?t.item:null}get length(){return this.gs.length}},qn=/nochunking=1/.test(self.location.hash),Gn=!1,Wn=r();function Kn(t,e,i){if(qn)return void Wn.then(e);const s=(ie(n=t.documentElement||t,"chunk",Qn),re(n,"chunk"));var n;s.runForStartup(e),i&&s.runForStartup((()=>{s.vs=!0}))}var Yn="not_run",Jn=class{constructor(t){this.state=Yn,this.Es=t}Ts(t){if("run"!=this.state){this.state="run";try{this.Es(t)}catch(t){throw this.Is(t),t}}}ys(){return this.Es.displayName||this.Es.name}Is(t){}Ms(){return!1}Rs(){return!1}},Xn=class extends Jn{constructor(t,e,i){super(t),this.bs=i}Is(t){on(self.document)}Ms(){return this.ws()}Rs(){return this.bs.Vs}ws(){return this.bs.ampdoc.isVisible()}},Qn=class{constructor(t){var e;this.ampdoc=t,this.i=t.win,this.Ss=new Bn,this.xs=this.Os.bind(this),this.Cs=0,this.ks=!(!this.i.navigator.scheduling||!this.i.navigator.scheduling.isInputPending),this.Ns=!1,this.vs=this.i.document.documentElement.hasAttribute("i-amphtml-no-boilerplate"),this.i.addEventListener("message",(t=>{"amp-macro-task"==Pi(t)&&this.Os(null)})),this.Vs=!1,(e=t,he(e,"viewer")).then((()=>{this.Vs=!0})),t.onVisibilityChanged((()=>{t.isVisible()&&this.Ds()}))}run(t,e){const i=new Jn(t);this.Ls(i,e)}runForStartup(t){const e=new Xn(t,this.i,this);this.Ls(e,Number.POSITIVE_INFINITY)}Ls(t,e){this.Ss.enqueue(t,e),this.Ds()}Us(t){let e=this.Ss.peek();for(;e&&e.state!==Yn;)this.Ss.dequeue(),e=this.Ss.peek();return e&&t&&this.Ss.dequeue(),e}Os(t){const e=this.Us(!0);if(!e)return this.Ns=!1,this.Cs=0,!1;let i;try{i=Date.now(),e.Ts(t)}finally{Wn.then().then().then().then().then().then().then().then().then((()=>{this.Ns=!1,this.Cs+=Date.now()-i,this.Ds()}))}return!0}$s(t){if(!Gn&&this.vs&&(this.ks?this.i.navigator.scheduling.isInputPending():this.Cs>5))return this.Cs=0,void this.Fs();Wn.then((()=>{this.xs(t)}))}Ds(){if(this.Ns)return;const t=this.Us();return t?t.Ms()?(this.Ns=!0,void this.$s(null)):void(t.Rs()&&this.i.requestIdleCallback?function(t,e,i,s){const n=Date.now();t.requestIdleCallback((function e(i){if(i.timeRemaining()<15){const r=2e3-(Date.now()-n);r<=0||i.didTimeout?s(i):t.requestIdleCallback(e,{timeout:r})}else s(i)}),{timeout:2e3})}(this.i,0,0,this.xs):this.Fs()):void 0}Fs(){this.i.postMessage("amp-macro-task","*")}},Zn="activate",tr=class{static R1(){return!1}static deferredMount(t){return!0}static prerenderAllowed(t){return!1}static usesLoading(t){return!1}static createLoaderLogoCallback(t){return{}}static getBuildPriority(t){return 0}static getPreconnects(t){return null}static requiresShadowDom(){return!1}constructor(t){this.element=t,this.win=Pt(t),this.actionMap_=null,this.defaultActionAlias_=null}signals(){return this.element.signals()}getDefaultActionAlias(){return this.defaultActionAlias_}getLayoutPriority(){return 0}updateLayoutPriority(t){this.element.getResources().updateLayoutPriority(this.element,t)}getLayout(){return this.element.getLayout()}getLayoutBox(){return this.element.getLayoutBox()}getLayoutSize(){return this.element.getLayoutSize()}getAmpDoc(){return this.element.getAmpDoc()}getVsync(){return ii(this.win)}getConsentPolicy(){let t=null;return this.element.hasAttribute("data-block-on-consent")&&(t=this.element.getAttribute("data-block-on-consent")||"default"),t}isLayoutSupported(t){return t==gs}isAlwaysFixed(){return!1}upgradeCallback(){return null}buildCallback(){}preconnectCallback(t){}attachedCallback(){}detachedCallback(){}setAsContainer(t){this.element.setAsContainerInternal(t)}removeAsContainer(){this.element.removeAsContainerInternal()}isBuildRenderBlocking(){return!1}createPlaceholderCallback(){return null}renderOutsideViewport(){return"inabox"==nt(this.win).runtime||3}idleRenderOutsideViewport(){return!1}ensureLoaded(){}setReadyState(t,e){this.element.setReadyStateInternal(t,e)}mountCallback(t){}unmountCallback(){}isRelayoutNeeded(){return!1}layoutCallback(){return r()}firstLayoutCompleted(){this.togglePlaceholder(!1)}pauseCallback(){}resumeCallback(){}unlayoutCallback(){return!1}unlayoutOnPause(){return!1}reconstructWhenReparented(){return!0}loadPromise(t){return Ii(t)}registerAction(t,e,i=2){er(this),this.actionMap_[t]={handler:e,minTrust:i}}registerDefaultAction(t,e="activate",i=2){At(!this.defaultActionAlias_),this.registerAction(e,t,i),this.defaultActionAlias_=e}executeAction(t,e){let{method:i}=t;i===Zn&&(i=this.defaultActionAlias_||i),er(this);const s=this.actionMap_[i],{tagName:n}=this.element;yt(s,`Method not found: ${i} in ${n}`);const{handler:r,minTrust:o}=s;if(t.satisfiesTrust(o))return r(t)}forwardEvents(t,e){const i=(b(t)?t:[t]).map((t=>yi(e,t,(e=>{Ft(this.element,t,Pi(e)||{})}))));return()=>i.forEach((t=>t()))}getPlaceholder(){return this.element.getPlaceholder()}togglePlaceholder(t){this.element.togglePlaceholder(t)}getFallback(){return this.element.getFallback()}toggleFallback(t){this.element.toggleFallback(t)}toggleLoading(t,e=!1){this.element.toggleLoading(t,e)}getOverflowElement(){return this.element.getOverflowElement()}renderStarted(){this.element.renderStarted()}getViewport(){return si(this.getAmpDoc())}getIntersectionElementLayoutBox(){return this.getLayoutBox()}collapse(){Ge(this.getAmpDoc()).collapseElement(this.element)}attemptCollapse(){return Ge(this.getAmpDoc()).attemptCollapse(this.element)}forceChangeHeight(t){Ge(this.getAmpDoc()).forceChangeSize(this.element,t,void 0)}attemptChangeHeight(t){return Ge(this.getAmpDoc()).requestChangeSize(this.element,t,void 0)}attemptChangeSize(t,e,i){return Ge(this.getAmpDoc()).requestChangeSize(this.element,t,e,void 0,i)}measureElement(t){return Ge(this.getAmpDoc()).measureElement(t)}mutateElement(t,e){return this.measureMutateElement(null,t,e)}measureMutateElement(t,e,i){return Ge(this.getAmpDoc()).measureMutateElement(i||this.element,t,e)}mutateElementSkipRemeasure(t){return Ge(this.getAmpDoc()).mutateElement(this.element,t,!0)}collapsedCallback(t){}expand(){Ge(this.getAmpDoc()).expandElement(this.element)}mutatedAttributesCallback(t){}onLayoutMeasure(){}user(){return gt(this.element)}getApi(){return this}};function er(t){t.actionMap_||(t.actionMap_=t.win.Object.create(null))}var ir=class extends tr{},sr="amp-",nr="send-positions",rr="position";function or(t){try{return!!t.location.href&&(t.test||!0)}catch(t){return!1}}var hr,ar=Date.now(),cr={bubbles:!1},lr=()=>!0,ur=[],dr=new Set;function pr(t,e){const i=function(t,e){if(t.__AMP_BASE_CE_CLASS)return t.__AMP_BASE_CE_CLASS;const i=t.HTMLElement;return t.__AMP_BASE_CE_CLASS=class extends i{constructor(){super(),this.createdCallback()}createdCallback(){this.Bs=!1,this.pn=!1,this.Hs=null,this.Yn=!1,this.js=null,this.zs=null,this.Gs="upgrading",this.everAttached=!1,this.es=null,this.ki=null,this.qs=gs,this.Fi=0,this.Ws=!1,this.warnOnMissingOverflow=!0,this.sizerElement=void 0,this.Ks=void 0,this.layoutScheduleTime=void 0;const e=this;let i=t.__AMP_EXTENDED_ELEMENTS&&t.__AMP_EXTENDED_ELEMENTS[this.localName];this.Ys=i===ir?null:i||null,this.Ys||ur.push(this),this.Js=null,this.Qs=1,this.Xs=0,this.Zs=void 0,this.tr=void 0,this._i=new Hi,this.Ys&&this._i.signal(Ds);const s=ne(t,"performance");this.ir=s&&s.isPerformanceTrackingOn(),this.oi=null,e.__AMP_UPG_RES&&(e.__AMP_UPG_RES(e),delete e.__AMP_UPG_RES,delete e.__AMP_UPG_PRM)}get readyState(){return this.Gs}signals(){return this._i}getAmpDoc(){return At(this.es),this.es}getResources(){return At(this.ki),this.ki}isUpgraded(){return 2==this.Qs}whenUpgraded(){return this._i.whenSignal(zs)}upgrade(t){this.tr||1==this.Qs&&(this.Ys=t,this._i.signal(Ds),this.everAttached&&this.sr())}markUnresolved(){this.Ys||this.classList.add("amp-unresolved","i-amphtml-unresolved")}getUpgradeDelayMs(){return this.Xs}er(e,i){this.Js=e,this.Xs=t.Date.now()-i,this.Qs=2,this.setReadyStateInternal(oi),this.classList.remove("amp-unresolved","i-amphtml-unresolved"),this.nr(),this.dispatchCustomEventForTesting(Cs),this.R1()||this.getResources().upgraded(this),this._i.signal(zs)}nr(){this.qs!=gs&&this.Js&&!this.Js.isLayoutSupported(this.qs)&&(yt(this.getAttribute("layout"),"The element did not specify a layout attribute. Check https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/control_layout and the respective element documentation for details."),yt(!1,`Layout not supported: ${this.qs}`))}getBuildPriority(){return this.Ys?this.Ys.getBuildPriority(this):3}getLayoutPriority(){return this.Js?this.Js.getLayoutPriority():3}getDefaultActionAlias(){return At(this.isUpgraded()),this.Js.getDefaultActionAlias()}isBuilding(){return!!this.Hs}isBuilt(){return this.Bs}whenBuilt(){return this._i.whenSignal(Us)}buildInternal(){if(fr(this),At(this.Ys),this.Hs)return this.Hs;this.setReadyStateInternal(oi);const t=this.rr();this.hr();const e=t.then((()=>{const t=this.ur(),e=t?null:this.lr();if(t||e)return(i=this,Oe(i,"consentPolicyManager","amp-consent")).then((i=>!i||(t?i.whenPolicyUnblock(t):i.whenPurposesUnblock(e)))).then((t=>{if(!t)throw new Error(jn)}));var i})).then((()=>At(this.Js).buildCallback()));return this.Hs=e.then((()=>{if(this.Bs=!0,this.classList.add("i-amphtml-built"),this.classList.remove("i-amphtml-notbuilt","amp-notbuilt"),this._i.signal(Us),this.R1()?this.setReadyStateInternal(this.Gs!=oi?this.Gs:hi):(this.setReadyStateInternal(ai),this.preconnect(!1)),this.pn&&this.ie(),this.Zs&&Xe(Pt(this)).delay(this.cr.bind(this),1),!this.getPlaceholder()){const t=this.createPlaceholder();t&&this.appendChild(t)}}),(t=>{throw this._i.rejectSignal(Us,t),this.R1()&&this.setReadyStateInternal(li,t),Ln(t)||Cn(t,this),t}))}build(){return this.Hs?this.Hs:this._i.whenSignal(Ds).then((()=>(this.R1()&&Hn(this.getAmpDoc()).scheduleAsap(this),this.whenBuilt())))}mountInternal(){if(this.js)return this.js;this.zs=this.zs||new AbortController;const{signal:t}=this.zs;return this.js=this.buildInternal().then((()=>{if(At(this.R1()),t.aborted)return;this.setReadyStateInternal(this.Gs!=hi?this.Gs:this.Ys.usesLoading(this)?ai:hi),this.Yn=!0;const e=this.Js.mountCallback(t);return!!e&&e.then(lr)})).then((e=>{if(this.zs=null,t.aborted)throw Nn();this._i.signal($s),this.Ys.usesLoading(this)&&!e||this.setReadyStateInternal(ci)})).catch((t=>{var e;throw this.zs=null,(e=t)&&("string"==typeof e?e.startsWith(kn):"string"==typeof e.message&&e.message.startsWith(kn))?this.js=null:(this._i.rejectSignal($s,t),this.setReadyStateInternal(li,t)),t}))}mount(){if(this.js)return this.js;this.zs=this.zs||new AbortController;const{signal:t}=this.zs;return this._i.whenSignal(Ds).then((()=>{if(!this.R1())return this.whenBuilt();if(t.aborted)throw Nn();return Hn(this.getAmpDoc()).scheduleAsap(this),this.whenMounted()}))}unmount(){this.pn&&this.pause(),this.R1()?(this.zs&&(this.zs.abort(),this.zs=null),Hn(this.getAmpDoc()).unschedule(this),this.Yn&&this.Js.unmountCallback(),this.Yn=!1,this.js=null,this.ar(),this.pn&&this.sr(!0)):this.dr()}whenMounted(){return this._i.whenSignal($s)}whenLoaded(){return this._i.whenSignal(Bs)}ensureLoaded(t){return this.mount().then((()=>{if(this.R1())return this.Ys.usesLoading(this)&&this.Js.ensureLoaded(),this.whenLoaded();const e=this.pr();return e.whenBuilt().then((()=>{if(4!=e.getState()&&((3!=e.getState()||e.isMeasureRequested())&&e.measure(),e.isDisplayed()))return this.getResources().scheduleLayoutOrPreload(e,!0,t,!0),this.whenLoaded()}))}))}setAsContainerInternal(t){Hn(this.getAmpDoc()).setContainer(this,t)}removeAsContainerInternal(){Hn(this.getAmpDoc()).removeContainer(this)}setReadyStateInternal(t,e){if(t!==this.Gs&&(this.Gs=t,this.R1()))switch(t){case ai:return this._i.signal(Fs),this._i.reset(qs),this._i.reset(Bs),this.classList.add("i-amphtml-layout"),this.toggleLoading(!0),void this.dispatchCustomEventForTesting(Ns);case ci:return this._i.signal(Fs),this._i.signal(Bs),this._i.reset(qs),this.classList.add("i-amphtml-layout"),this.toggleLoading(!1),Ft(this,"load",null,cr),void this.dispatchCustomEventForTesting(Ls);case li:return this._i.rejectSignal(Bs,e),this.toggleLoading(!1),void Ft(this,"error",e,cr)}}preconnect(t){At(this.isUpgraded()),t?this.Js.preconnectCallback(t):Kn(this.getAmpDoc(),(()=>{this.ownerDocument&&this.ownerDocument.defaultView&&this.Js.preconnectCallback(t)}))}R1(){return!!this.Ys&&this.Ys.R1()}deferredMount(){return!!this.Ys&&this.Ys.deferredMount(this)}isAlwaysFixed(){return!!this.Js&&this.Js.isAlwaysFixed()}updateLayoutBox(t,e=!1){this.isBuilt()&&this.onMeasure(e)}onMeasure(){At(this.isBuilt());try{this.Js.onLayoutMeasure()}catch(t){Cn(t,this)}}hr(){var t;return void 0!==this.sizerElement||this.qs!==As&&this.qs!==ws||(this.sizerElement=this.querySelector("i-amphtml-sizer"),null===(t=this.sizerElement)||void 0===t||t.setAttribute("slot","i-amphtml-svc")),this.sizerElement||null}mr(t){if(this.qs!==As)if(this.qs!==ws);else{const e=t.querySelector(".i-amphtml-intrinsic-sizer");if(!e)return;e.setAttribute("src","")}else Ki(t,"paddingTop","0")}_r(){const t=this.hasAttribute("media")||this.hasAttribute("sizes")&&!this.hasAttribute("disable-inline-width")||this.hasAttribute("heights"),e=!!this.oi,i=this.ownerDocument.defaultView;t!=e&&i&&(t?(this.oi=new class{constructor(t,e){this.i=t,this.st=e,this.ui={},this.li=null}start(){this.li=this.ui,this.ui={}}resolveMatchQuery(t){return"1"===this.ci(t,Gs,"1")}resolveListQuery(t){return this.ci(t,Ws,"")}complete(){for(const t in this.li)t in this.ui||Ks(this.li[t],this.st,!1);this.li=null}dispose(){for(const t in this.ui)Ks(this.ui[t],this.st,!1);this.ui={}}ci(t,e,i){if(!t.trim())return i;let s=this.ui[t];return s||(C(this.li),s=this.li[t]),s||(s=e(this.i,t),Ks(s,this.st,!0)),this.ui[t]=s,function(t){for(let e=0;e<t.length;e++){const{query:i,value:s}=t[e];if(!i||i.matches)return s}return""}(s)}}(i,(()=>this.Ar())),this.Ar()):this.gr())}gr(){this.oi&&(this.oi.dispose(),this.oi=null)}Ar(){const t=this.oi;if(!t)return;t.start();const e=this.getAttribute("media")||null,i=!e||t.resolveMatchQuery(e);this.classList.toggle("i-amphtml-hidden-by-media-query",!i);const s=this.hasAttribute("disable-inline-width")?null:this.getAttribute("sizes");s&&Ki(this,"width",t.resolveListQuery(s));const n=this.qs===As?this.getAttribute("heights"):null;if(n){const e=this.hr();e&&Ki(e,"paddingTop",t.resolveListQuery(n))}t.complete(),this.pr().requestMeasure()}applySize(t,e,i){const s=this.hr();s&&(this.sizerElement=null,this.mr(s),this.Pr((()=>{s&&Ot(s)}))),void 0!==t&&Ki(this,"height",t,"px"),void 0!==e&&Ki(this,"width",e,"px"),i&&(null!=i.top&&Ki(this,"marginTop",i.top,"px"),null!=i.right&&Ki(this,"marginRight",i.right,"px"),null!=i.bottom&&Ki(this,"marginBottom",i.bottom,"px"),null!=i.left&&Ki(this,"marginLeft",i.left,"px")),this.vr()&&this.Er(),Ft(this,"amp:size-changed")}connectedCallback(){if(function(){if(void 0===hr){const t=self.document.createElement("template");hr="content"in t}return hr}()||void 0!==this.tr||(this.tr=!!St(this,"template")),!this.tr&&!this.pn&&Nt(this)){if(this.pn=!0,this.everAttached||this.classList.add("i-amphtml-element","i-amphtml-notbuilt","amp-notbuilt"),!this.es){const t=Pt(this),i=Ue(t).getAmpDoc(this);this.es=i,e(i,this,this.Ys)}if(this.ki||(this.ki=Je(this.es)),this.getResources().add(this),this.everAttached){const t=this.reconstructWhenReparented();t&&this.ar(),this.isUpgraded()&&(t&&!this.R1()&&this.getResources().upgraded(this),this.ie(),this.dispatchCustomEventForTesting(Cs)),this.Ys&&this.R1()&&this.sr()}else{this.everAttached=!0;try{this.qs=function(t){const e=t.getAttribute("i-amphtml-layout");if(e){const s=Ts(e);var i;return C(s),s!=As&&s!=ws||!t.firstElementChild?s==gs&&Ji(t,!1):(t.sizerElement=t.querySelector("i-amphtml-sizer")||void 0,null===(i=t.sizerElement)||void 0===i||i.setAttribute("slot","i-amphtml-svc")),s}const{height:s,layout:n,width:r}=Zs(t);if(t.classList.add(Ss(n)),Ms(n)&&t.classList.add("i-amphtml-layout-size-defined"),n==gs)Ji(t,!1);else if(n==vs)Yi(t,{width:L(r),height:L(s)});else if(n==_s)Ki(t,"height",L(s));else if(n==As){const e=t.ownerDocument.createElement("i-amphtml-sizer");e.setAttribute("slot","i-amphtml-svc");const i=ks(s),n=ks(r);D(i),D(n),Yi(e,{paddingTop:i/n*100+"%"}),t.insertBefore(e,t.firstChild),t.sizerElement=e}else if(n==ws){const e=Ys(t)(Xs),i=e.firstElementChild;N(i),i.setAttribute("src",`data:image/svg+xml;charset=utf-8,<svg height="${s}" width="${r}" xmlns="http://www.w3.org/2000/svg" version="1.1"/>`),t.insertBefore(e,t.firstChild),t.sizerElement=e}else n==Ps||n==ys||(n==bs?(r&&Ki(t,"width",r),s&&Ki(t,"height",s)):n==Is&&(t.classList.add("i-amphtml-layout-awaiting-size"),r&&Ki(t,"width",r),Ki(t,"height",0)));return t.setAttribute("i-amphtml-layout",n),n}(this),this._r()}catch(t){Cn(t,this)}this.Ys?this.sr():(dr.has("*")||dr.has(this.tagName.toLowerCase()))&&this.markUnresolved(),this.isUpgraded()||this.dispatchCustomEventForTesting("amp:stubbed")}this.toggleLoading(!0)}}vr(){return this.classList.contains("i-amphtml-layout-awaiting-size")}Er(){this.classList.remove("i-amphtml-layout-awaiting-size")}sr(t){if(this.R1()){if(!this.js)if(Hn(this.getAmpDoc()).schedule(this),this.classList.remove("amp-unresolved","i-amphtml-unresolved"),this.Hs)this.setReadyStateInternal(this.Ys&&this.Ys.usesLoading(this)?ai:hi);else if(this.setReadyStateInternal(oi),!t){const t=this.Ys.getPreconnects(this);if(t&&t.length>0){const e=this.getAmpDoc();Kn(e,(()=>{const{win:i}=e;if(!i)return;const s=Ye(i);t.forEach((t=>s.url(e,t,!1)))}))}}}else this.Tr()}Tr(){if(this.tr)return;if(1!=this.Qs)return;const e=new(At(this.Ys))(this);this.Qs=4;const i=t.Date.now(),s=e.upgradeCallback();if(s){if("function"==typeof s.then)return s.then((t=>{this.er(t||e,i)})).catch((t=>{this.Qs=3,u(t)}));this.er(s,i)}else this.er(e,i)}disconnectedCallback(){this.disconnect(!1)}ie(){this.Bs&&this.Js.attachedCallback()}disconnect(t){!this.tr&&this.pn&&(!t&&Nt(this)||(t&&this.classList.remove("i-amphtml-element"),this.pn=!1,this.getResources().remove(this),this.Js&&this.Js.detachedCallback(),this.R1()&&this.unmount(),this.toggleLoading(!1),this.gr()))}dispatchCustomEventForTesting(t,e){}prerenderAllowed(){return!this.hasAttribute("noprerender")&&!!this.Ys&&this.Ys.prerenderAllowed(this)}isBuildRenderBlocking(){return!!this.Js&&this.Js.isBuildRenderBlocking()}createPlaceholder(){return this.Js?this.Js.createPlaceholderCallback():null}createLoaderLogo(){return this.Ys?this.Ys.createLoaderLogoCallback(this):{}}renderOutsideViewport(){return!!this.Js&&this.Js.renderOutsideViewport()}idleRenderOutsideViewport(){return!!this.Js&&this.Js.idleRenderOutsideViewport()}getLayoutBox(){return this.pr().getLayoutBox()}getLayoutSize(){return this.pr().getLayoutSize()}getOwner(){return this.pr().getOwner()}getIntersectionChangeEntry(){const t=this.Js?this.Js.getIntersectionElementLayoutBox():this.getLayoutBox(),e=this.getOwner(),i=si(this.getAmpDoc()).getRect();return function(t,e,i){const s=function(t){let e=-1/0,i=1/0,s=-1/0,n=1/0;for(let t=0;t<arguments.length;t++){const r=arguments[t];if(r&&(e=Math.max(e,r.left),i=Math.min(i,r.left+r.width),s=Math.max(s,r.top),n=Math.min(n,r.top+r.height),i<e||n<s))return null}return i==1/0?null:Gt(e,s,i-e,n-s)}(t,e,i)||Gt(0,0,0,0);return function(t,e,i,s){let n=t,r=e;return e&&(r=r,i=Kt(i,-e.left,-e.top),n=Kt(n,-e.left,-e.top),r=Kt(r,-e.left,-e.top)),{time:"undefined"!=typeof performance&&performance.now?performance.now():Date.now()-ar,rootBounds:r,boundingClientRect:n,intersectionRect:i,intersectionRatio:s}}(t,i,s,function(t,e){const i=t.width*t.height,s=e.width*e.height;return 0===s?0:i/s}(s,t))}(t,e&&e.getLayoutBox(),i)}pr(){return this.getResources().getResourceForElement(this)}getResourceId(){return this.pr().getId()}isRelayoutNeeded(){return!!this.Js&&this.Js.isRelayoutNeeded()}getImpl(t=!0){return(t?this.build():this.rr()).then((()=>this.Js))}rr(){return this._i.whenSignal(Ds).then((()=>(this.Tr(),this.whenUpgraded())))}getApi(){return this.getImpl().then((t=>t.getApi()))}getLayout(){return this.qs}layoutCallback(t){if(fr(this),At(this.isBuilt()),t.aborted)return Promise.reject(Nn());this.dispatchCustomEventForTesting(Ns);const e=0==this.Fi;this._i.reset(qs),e&&this._i.signal(Fs),this.toggleLoading(!0);const i=h((()=>this.Js.layoutCallback()));return this.preconnect(!0),this.classList.add("i-amphtml-layout"),i.then((()=>{if(t.aborted)throw Nn();e&&this._i.signal(Bs),this.setReadyStateInternal(ci),this.Fi++,this.toggleLoading(!1),this.Ws||(this.Js.firstLayoutCompleted(),this.Ws=!0,this.dispatchCustomEventForTesting(Ls))}),(i=>{if(t.aborted)throw Nn();throw e&&this._i.rejectSignal(Bs,i),this.setReadyStateInternal(li,i),this.Fi++,this.toggleLoading(!1),i}))}pause(){this.isBuilt()&&(this.Js.pauseCallback(),!this.R1()&&this.Js.unlayoutOnPause()&&this.dr())}resume(){this.isBuilt()&&this.Js.resumeCallback()}unlayoutCallback(){if(fr(this),!this.isBuilt())return!1;this._i.signal(qs);const t=this.Js.unlayoutCallback();return t&&this.ar(),this.dispatchCustomEventForTesting("amp:unload"),t}dr(){this.pr().unlayout(),this.pn&&this.ki&&this.ki.schedulePass()}ar(){this.Fi=0,this.Ws=!1,this._i.reset($s),this._i.reset(Hs),this._i.reset(Fs),this._i.reset(Bs),this._i.reset("ini-load")}reconstructWhenReparented(){return!!this.Js&&this.Js.reconstructWhenReparented()}collapse(){this.Js&&this.Js.collapse()}collapsedCallback(t){this.Js&&this.Js.collapsedCallback(t)}expand(){this.Js&&this.Js.expand()}mutatedAttributesCallback(t){this.Js&&this.Js.mutatedAttributesCallback(t)}enqueAction(t){fr(this),this.isBuilt()?this.Ir(t,!1):(void 0===this.Zs&&(this.Zs=[]),At(this.Zs).push(t),this.build())}cr(){if(!this.Zs)return;const t=At(this.Zs);this.Zs=null,t.forEach((t=>{this.Ir(t,!0)}))}Ir(t,e){try{this.Js.executeAction(t,e)}catch(e){u("Action execution failed:",e,t.node.tagName,t.method)}}ur(){let t=this.getAttribute("data-block-on-consent");if(null===t){if(!function(t){let e=t.getAmpDoc().getMetaByName("amp-consent-blocking");return!!e&&(e=e.toUpperCase().replace(/\s+/g,""),e.split(",").includes(t.tagName))}(this))return null;t="default",this.setAttribute("data-block-on-consent",t)}return""==t||"default"==t?At(this.Js).getConsentPolicy():t}lr(){var t;const e=this.getAttribute("data-block-on-consent-purposes")||null;return null==e||null===(t=e.replace(/\s+/g,""))||void 0===t?void 0:t.split(",")}getPlaceholder(){return Mt(this,(t=>t.hasAttribute("placeholder")&&!mr(t)))}togglePlaceholder(t){if(fr(this),t){const t=this.getPlaceholder();t&&t.classList.remove("amp-hidden")}else{const t=(this,wt("placeholder"),"> [placeholder]",this.querySelectorAll(bt("> [placeholder]",":scope")));for(let e=0;e<t.length;e++)mr(t[e])||t[e].classList.add("amp-hidden")}}getFallback(){return Rt(this,"fallback")}toggleFallback(t){fr(this);const e=this.pr().getState();if((this.R1()||!t||0!=e&&1!=e&&2!=e)&&(this.classList.toggle("amp-notsupported",t),1==t)){const t=this.getFallback();t&&(i=this.getAmpDoc(),re(i,"owners")).scheduleLayout(this,t)}var i}renderStarted(){this._i.signal(Hs),this.togglePlaceholder(!1),this.toggleLoading(!1)}yr(t){const e=this.Fi>0||this._i.get(Hs);return!(this.qs==gs||this.hasAttribute("noloading")||e&&!t||!function(t){const e=t.tagName.toUpperCase();return"AMP-AD"===(i=e)||"AMP-ANIM"===i||"AMP-EMBED"===i||"AMP-FACEBOOK"===i||"AMP-FACEBOOK-COMMENTS"===i||"AMP-FACEBOOK-PAGE"===i||"AMP-GOOGLE-DOCUMENT-EMBED"===i||"AMP-IFRAME"===i||"AMP-IMG"===i||"AMP-INSTAGRAM"===i||"AMP-LIST"===i||"AMP-PINTEREST"===i||"AMP-PLAYBUZZ"===i||"AMP-RENDER"===i||"AMP-TIKTOK"===i||"AMP-TWITTER"===i||function(t){return"AMP-VIDEO"!=t&&Es.test(t)}(e);var i}(this)||xt(this))}toggleLoading(t,e=!1){if(!this.ownerDocument||!this.ownerDocument.defaultView)return;const i=oe(this.getAmpDoc(),"loadingIndicator");i&&((t=t&&this.yr(e))?i.track(this):i.untrack(this))}getOverflowElement(){return void 0===this.Ks&&(this.Ks=Rt(this,"overflow"),this.Ks&&(this.Ks.hasAttribute("tabindex")||this.Ks.setAttribute("tabindex","0"),this.Ks.hasAttribute("role")||this.Ks.setAttribute("role","button"))),this.Ks}overflowCallback(t,e,i){this.getOverflowElement(),this.Ks?(this.Ks.classList.toggle("amp-visible",t),this.Ks.onclick=t?()=>{const t=Ge(this.getAmpDoc());t.forceChangeSize(this,e,i),t.mutateElement(this,(()=>{this.overflowCallback(!1,e,i)}))}:null):t&&this.warnOnMissingOverflow}Pr(t,e,i=!1){this.es?Ge(this.getAmpDoc()).mutateElement(e||this,t,i):t()}},t.__AMP_BASE_CE_CLASS}(t,e);class s extends i{adoptedCallback(){Object.getPrototypeOf(this)!==n&&Object.setPrototypeOf(this,n)}}const n=s.prototype;return s}function mr(t){return"placeholder"in t}function fr(t){At(!t.tr)}var gr=new WeakMap;function vr(t){return t.__AMP_EXTENDED_ELEMENTS||(t.__AMP_EXTENDED_ELEMENTS={}),t.__AMP_EXTENDED_ELEMENTS}function _r(t,e,i){const s=vr(t);if(s[e]){if(s[e]!=i){yt(s[e]==ir,"%s is already registered. The script tag for %s is likely included twice in the page.",e,e),s[e]=i;for(let s=0;s<ur.length;s++){const n=ur[s];n.tagName.toLowerCase()==e&&n.ownerDocument.defaultView==t&&(Ar(n,i),ur.splice(s--,1))}}}else Ir(t,e,i)}function Ar(t,e){try{t.upgrade(e)}catch(e){Cn(e,t)}}function yr(t){(function(t){if(!t)return[];const e=t.querySelectorAll("script[custom-element],script[custom-template]"),i=[];for(let t=0;t<e.length;t++){const s=e[t],n=s.getAttribute("custom-element")||s.getAttribute("custom-template"),r=Re(s.src);n&&r&&i.push({script:s,extensionId:n,extensionVersion:r.extensionVersion})}return i})(t.getHeadNode()).forEach((({extensionId:e,extensionVersion:i,script:s})=>{t.declareExtension(e,i),s.addEventListener("error",(()=>function(t){dr.add(t||"*");for(var e,i=n(ur,!0);!(e=i()).done;){const i=e.value;null!=t&&i.tagName.toLowerCase()!==t||i.markUnresolved()}}(e))),Pr(t.win,e)})),t.isBodyAvailable()&&t.setExtensionsKnown()}function Pr(t,e){vr(t)[e]||Ir(t,e,ir)}function br(t,e,i){Ir(e,i,vr(t)[i]||ir)}function Ir(t,e,i){vr(t)[e]=i;const s=pr(t,wr);t.customElements.define(e,s)}function wr(t,e,i){gr.has(t)||(gr.set(t,!0),yr(t));const s=e.localName;i||t.declaresExtension(s)||Be(t.win).installExtensionForDoc(t,s,"0.1")}var Er="amp-img",Tr=["alt","aria-describedby","aria-label","aria-labelledby","crossorigin","referrerpolicy","title","importance","sizes","srcset","src"],Sr=class extends tr{static R1(){return!1}static prerenderAllowed(){return!0}static usesLoading(){return!0}static getPreconnects(t){const e=t.getAttribute("src");if(e)return[e];const i=t.getAttribute("srcset");if(i){const t=/\S+/.exec(i);if(t)return[t[0]]}return null}constructor(t){super(t),this.Mr=!0,this.Rr=null,this.br=null,this.wr=null,this.Vr=0}mutatedAttributesCallback(t){if(this.Rr){const e=Tr.filter((e=>void 0!==t[e]));t.src&&!t.srcset&&this.element.hasAttribute("srcset")&&(this.element.removeAttribute("srcset"),e.push("srcset"),this.user().warn(Er,"Removed [srcset] since [src] was mutated. Recommend adding a [srcset] binding to support responsive images.",this.element)),Vs(e,this.element,this.Rr,!0),this.propagateDataset(this.Rr),Sr.R1()&&!this.Rr.complete&&this.setReadyState(ai)}}preconnectCallback(t){const e=this.element.getAttribute("src");if(e)Ye(this.win).url(this.getAmpDoc(),e,t);else{const e=this.element.getAttribute("srcset");if(!e)return;const i=/\S+/.exec(e);i&&Ye(this.win).url(this.getAmpDoc(),i[0],t)}}isLayoutSupported(t){return Ms(t)}Sr(){if(this.Rr)return this.Rr;this.Mr=!this.element.hasAttribute("fallback");const t=Bt(this.element);var e,i;return t&&(this.Rr=Et(this.element,"> img:not([placeholder])")),this.Rr=this.Rr||new Image,this.Rr.setAttribute("decoding","async"),this.element.id&&this.Rr.setAttribute("amp-img-id",this.element.id),"img"==this.element.getAttribute("role")&&(this.element.removeAttribute("role"),this.user().error(Er,"Setting role=img on amp-img elements breaks screen readers please just set alt or ARIA attributes, they will be correctly propagated for the underlying <img> element.")),this.Or(!0),Vs(Tr,this.element,this.Rr),this.propagateDataset(this.Rr),js(this.Rr,!0),e=this.element,i=this.Rr,e.hasAttribute("object-fit")&&Ki(i,"object-fit",e.getAttribute("object-fit")),e.hasAttribute("object-position")&&Ki(i,"object-position",e.getAttribute("object-position")),t||this.element.appendChild(this.Rr),this.Rr}Or(t){if(!this.Rr)return;if(this.element.hasAttribute("i-amphtml-ssr"))return;if(this.element.hasAttribute("sizes")||this.Rr.hasAttribute("sizes"))return;const e=this.element.getAttribute("srcset");if(!e||/[0-9]+x(?:,|$)/.test(e))return;const{width:i}=this.element.getLayoutSize();if(!this.Cr(i))return;const s=this.getViewport().getWidth(),n=`(max-width: ${s}px) ${i}px, `;let r=i+"px";if(this.getLayout()!==vs){const t=Math.round(100*i/s);r=Math.max(t,100)+"vw"}const o=n+r;t?this.Rr.setAttribute("sizes",o):this.mutateElement((()=>{this.Rr.setAttribute("sizes",o)})),this.Vr=i}Cr(t){return!this.Rr.hasAttribute("sizes")||t>this.Vr}reconstructWhenReparented(){return!1}mountCallback(){const t=!!this.Rr,e=this.Sr();t||(yi(e,"load",(()=>{this.setReadyState(ci),this.firstLayoutCompleted(),this.kr()})),yi(e,"error",(t=>{this.setReadyState(li,t),this.Nr()}))),e.complete?(this.setReadyState(ci),this.firstLayoutCompleted(),this.kr()):this.setReadyState(ai)}unmountCallback(){const t=this.Rr;t&&!t.complete&&(t.src="",Ot(t),this.Rr=null)}ensureLoaded(){this.Rr.loading="eager"}layoutCallback(){this.Sr();const t=this.Rr;this.br=yi(t,"load",(()=>this.kr())),this.wr=yi(t,"error",(()=>this.Nr()));const{width:e}=this.element.getLayoutSize();return e<=0?r():this.loadPromise(t)}unlayoutCallback(){if(Sr.R1())return;this.wr&&(this.wr(),this.wr=null),this.br&&(this.br(),this.br=null);const t=this.Rr;return t&&!t.complete&&(t.src="",Ot(t),this.Rr=null),!0}firstLayoutCompleted(){const t=this.getPlaceholder();t&&t.classList.contains("i-amphtml-blurry-placeholder")?Wi(t,{"opacity":0}):this.togglePlaceholder(!1)}kr(){!this.Mr&&this.Rr.classList.contains("i-amphtml-ghost")&&(this.Rr.classList.remove("i-amphtml-ghost"),this.toggleFallback(!1))}Nr(){this.Mr&&(this.Rr.classList.add("i-amphtml-ghost"),this.toggleFallback(!0),this.togglePlaceholder(!1),this.Mr=!1)}propagateDataset(t){for(const e in t.dataset)e in this.element.dataset||delete t.dataset[e];for(const e in this.element.dataset)e.startsWith("ampBind")&&"ampBind"!==e||t.dataset[e]!==this.element.dataset[e]&&(t.dataset[e]=this.element.dataset[e])}},Mr=class extends tr{static prerenderAllowed(){return!0}isLayoutSupported(t){return t==ys||Ms(t)}buildCallback(){!function(t){if(Bt(t))return;const e=function(t){var e;return Ts(null!==(e=t.getAttribute("layout"))&&void 0!==e?e:"")||Zs(t).layout}(t);if(e==ys)return;const i=t.ownerDocument.createElement("div");js(i),function(t){return function(t,e){const i=[];for(let e=t.firstChild;e;e=e.nextSibling)!xt(e)&&i.push(e);return i}(t)}(t).forEach((t=>{i.appendChild(t)})),t.appendChild(i)}(this.element)}};function Rr(t,e,i=!1){const s=new(os.getImage(t));return i&&(s.referrerPolicy="no-referrer"),s.src=e,s}var xr="amp-pixel",kr=class extends tr{constructor(t){super(t),this.Dr=null}isLayoutSupported(t){return!0}buildCallback(){this.element.setAttribute("aria-hidden","true"),this.Lr=this.element.getAttribute("referrerpolicy"),this.Lr&&yt("no-referrer"==this.Lr,`${xr}: invalid "referrerpolicy" value "${this.Lr}". Only "no-referrer" is supported`),this.element.hasAttribute("i-amphtml-ssr")&&this.element.querySelector("img")||this.getAmpDoc().whenFirstVisible().then(this.Ur.bind(this))}Ur(){if(this.Dr)return _t().error(xr,"duplicate pixel"),this.Dr;this.Dr=Xe(this.win).promise(1).then((()=>{const t=this.element.getAttribute("src");if(t)return Qe(this.element).expandUrlAsync(this.$r(t)).then((t=>{if(this.win)return function(t,e,i){return i&&"no-referrer"!==i&&gt().error("pixel","Unsupported referrerPolicy: %s",i),"no-referrer"===i?function(t,e){if("referrerPolicy"in Image.prototype)return Rr(t,e,!0);{const i=Ct(t.document,"iframe",{"src":"about:blank","style":"display:none"});return i.onload=()=>{Rr(i.contentWindow,e)},t.document.body.appendChild(i),i}}(t,e):Rr(t,e)}(this.win,t,this.Lr)}))}))}$r(t){return yt(/^(https\:\/\/|\/\/)/i.test(t),'The <amp-pixel> src attribute must start with "https://" or "//". Invalid value: '+t),t}},jr=class{constructor(t,e,i){this.Fr=Xe(t),this.Br=e,this.Hr=i||0,this.jr=-1,this.zr=0,this.Cn=!1,this.Gr=()=>{this.qr()}}isPending(){return-1!=this.jr}schedule(t){let e=t||this.Hr;this.Cn&&e<10&&(e=10);const i=Date.now()+e;return(!this.isPending()||i-this.zr<-10)&&(this.cancel(),this.zr=i,this.jr=this.Fr.delay(this.Gr,e),!0)}qr(){this.jr=-1,this.zr=0,this.Cn=!0,this.Br(),this.Cn=!1}cancel(){this.isPending()&&(this.Fr.cancel(this.jr),this.jr=-1)}},Vr="Action",Or="__AMP_ACTION_MAP__"+Math.random(),Cr="__AMP_ACTION_QUEUE__",Nr="__AMP_ACTION_HANDLER__",Lr={"form":["submit","clear"]},Dr=[{tagOrTarget:"AMP",method:"setState"},{tagOrTarget:"*",method:"focus"},{tagOrTarget:"*",method:"hide"},{tagOrTarget:"*",method:"show"},{tagOrTarget:"*",method:"toggleClass"},{tagOrTarget:"*",method:"toggleChecked"},{tagOrTarget:"*",method:"toggleVisibility"}],zr={"button":!0,"checkbox":!0,"link":!0,"listbox":!0,"menuitem":!0,"menuitemcheckbox":!0,"menuitemradio":!0,"option":!0,"radio":!0,"scrollbar":!0,"slider":!0,"spinbutton":!0,"switch":!0,"tab":!0,"treeitem":!0},Ur=class{constructor(t,e,i,s,n,r,o,h="?",a=null,c=Math.random()){this.node=t,this.method=e,this.args=i,this.source=s,this.caller=n,this.event=r,this.trust=o,this.actionEventType=h,this.tagOrTarget=a||t.tagName,this.sequenceId=c}satisfiesTrust(t){if(!M(this.trust))return _t().error(Vr,`Invalid trust for '${this.method}': ${this.trust}`),!1;if(this.trust<t){const t=function(t){switch(t){case 1:return"low";case 3:return"high";default:return C(2===t),"default"}}(this.trust);return gt().error(Vr,`"${this.actionEventType}" event with "${t}" trust is not allowed to invoke "${this.tagOrTarget.toLowerCase()}.${this.method}".`),!1}return!0}};function $r(t){return"amp-"===t.substring(0,4)}var Fr=class{constructor(t){this.detail=null,function(t,e){const i=e||g();for(const e in t){const s=t[e];i[e]="function"==typeof s?Hr:t[e]}}(t,this)}};function Hr(){At(null)}function Br(t,e){const i=Gr.bind(null,t,e),s=Wr.bind(null,t,e);let n=null;const r=new Jr(t);let o,h;do{if(o=r.next(),o.type==Kr.EOF||o.type==Kr.SEPARATOR&&";"==o.value);else if(o.type==Kr.LITERAL||o.type==Kr.ID){const e=o.value;s(r.next(),[Kr.SEPARATOR],":");const a=[];do{const n=s(r.next(),[Kr.LITERAL,Kr.ID]).value;let o=Zn,c=null;h=r.peek(),h.type==Kr.SEPARATOR&&"."==h.value&&(r.next(),o=s(r.next(),[Kr.LITERAL,Kr.ID]).value||o,h=r.peek(),h.type==Kr.SEPARATOR&&"("==h.value&&(r.next(),c=qr(r,s,i))),a.push({event:e,target:n,method:o,args:c,str:t}),h=r.peek()}while(h.type==Kr.SEPARATOR&&","==h.value&&r.next());n||(n=g()),n[e]=a}else i(!1,`; unexpected token [${o.value||""}]`)}while(o.type!=Kr.EOF);return n}function qr(t,e,i){let s,n=t.peek(),r=null;if(n.type==Kr.OBJECT){r=g();const{value:i}=t.next();r.__AMP_OBJECT_STRING__=i,e(t.next(),[Kr.SEPARATOR],")")}else do{s=t.next();const{type:h,value:a}=s;if(h!=Kr.SEPARATOR||","!=a&&")"!=a)if(h==Kr.LITERAL||h==Kr.ID){e(t.next(),[Kr.SEPARATOR],"="),s=e(t.next(!0),[Kr.LITERAL,Kr.ID]);const h=[s];if(s.type==Kr.ID)for(n=t.peek();n.type==Kr.SEPARATOR&&"."==n.value;n=t.peek())t.next(),s=e(t.next(!1),[Kr.ID]),h.push(s);const c=0==(o=h).length?null:1==o.length?o[0].value:{expression:o.map((t=>t.value)).join(".")};r||(r=g()),r[a]=c,n=t.peek(),i(n.type==Kr.SEPARATOR&&(","==n.value||")"==n.value),"Expected either [,] or [)]")}else i(!1,`; unexpected token [${s.value||""}]`)}while(s.type!=Kr.SEPARATOR||")"!=s.value);var o;return r}function Gr(t,e,i,s){return yt(i,"Invalid action definition in %s: [%s] %s",e,t,s||"")}function Wr(t,e,i,s,n){return void 0!==n?Gr(t,e,s.includes(i.type)&&i.value==n,`; expected [${n}]`):Gr(t,e,s.includes(i.type)),i}var Kr={INVALID:0,EOF:1,SEPARATOR:2,LITERAL:3,ID:4,OBJECT:5},Yr=" \t\n\r\f\v \u2028\u2029",Jr=class{constructor(t){this.Wr=t,this.Kr=-1}next(t){const e=this.Yr(t||!1);return this.Kr=e.index,e}peek(t){return this.Yr(t||!1)}Yr(t){let e=this.Kr+1;if(e>=this.Wr.length)return{type:Kr.EOF,index:this.Kr};let i=this.Wr.charAt(e);if(-1!=Yr.indexOf(i)){for(e++;e<this.Wr.length&&-1!=Yr.indexOf(this.Wr.charAt(e));e++);if(e>=this.Wr.length)return{type:Kr.EOF,index:e};i=this.Wr.charAt(e)}if(t&&(Xr(i)||"."==i&&e+1<this.Wr.length&&Xr(this.Wr[e+1]))){let t="."==i,s=e+1;for(;s<this.Wr.length;s++){const e=this.Wr.charAt(s);if("."!=e){if(!Xr(e))break}else t=!0}const n=this.Wr.substring(e,s),r=t?parseFloat(n):parseInt(n,10);return e=s-1,{type:Kr.LITERAL,value:r,index:e}}if(-1!=";:.()=,|!".indexOf(i))return{type:Kr.SEPARATOR,value:i,index:e};if(-1!="\"'".indexOf(i)){let t=-1;for(let s=e+1;s<this.Wr.length;s++)if(this.Wr.charAt(s)==i){t=s;break}if(-1==t)return{type:Kr.INVALID,index:e};const s=this.Wr.substring(e+1,t);return e=t,{type:Kr.LITERAL,value:s,index:e}}if("{"==i){let t=1,i=-1;for(let s=e+1;s<this.Wr.length;s++){const e=this.Wr[s];if("{"==e?t++:"}"==e&&t--,t<=0){i=s;break}}if(-1==i)return{type:Kr.INVALID,index:e};const s=this.Wr.substring(e,i+1);return e=i,{type:Kr.OBJECT,value:s,index:e}}let s=e+1;for(;s<this.Wr.length&&-1==" \t\n\r\f\v \u2028\u2029;:.()=,|!\"'{}".indexOf(this.Wr.charAt(s));s++);const n=this.Wr.substring(e,s);if(e=s-1,t&&("true"==n||"false"==n)){const t="true"==n;return{type:Kr.LITERAL,value:t,index:e}}return Xr(n.charAt(0))?{type:Kr.LITERAL,value:n,index:e}:{type:Kr.ID,value:n,index:e}}};function Xr(t){return t>="0"&&t<="9"}function Qr(t){return!!t&&"function"==typeof t.getFormData}var Zr=["GET","POST"],to=[b,f];function eo(t,e){const i=y({},e);if(Qr(e.body)){const t=e.body;i.headers["Content-Type"]="multipart/form-data;charset=utf-8",i.body=function(t){const e=[];for(let i=t.next();!i.done;i=t.next())e.push(i.value);return e}(t.entries())}return{input:t,init:i}}function io(t,e){const i=t||{},s=i.credentials;return C(void 0===s||"include"==s||"omit"==s),i.method=void 0===(n=i.method)?"GET":(n=n.toUpperCase(),C(Zr.includes(n)),n),i.headers=i.headers||{},e&&(i.headers.Accept=e),C(null!==i.body),i;var n}function so(t){return new Promise((e=>{if(t.ok)return e(t);const{status:i}=t,s=gt().createError(`HTTP error ${i}`);throw s.retriable=function(t){return 415==t||t>=500&&t<600}(i),s.response=t,s}))}var no=class{constructor(t){this.win=t;const e=Ue(t);this.Jr=e.isSingleDoc()?e.getSingleDoc():null}Qr(t,e){return function(t,e,i,s){if(!e)return r();const n=s.prerenderSafe?r():e.whenFirstVisible(),o=ei(e),h=bn(i),a=o.hasCapability("xhrInterceptor"),c=s.bypassInterceptorForDev&&!1;return h||!a||c?n:e.getRootNode().documentElement.hasAttribute("allow-xhr-interception")?n.then((()=>o.isTrustedViewer())).then((e=>{if(!e&&!we(t,"untrusted-xhr-interception"))return;const n={"originalRequest":eo(i,s)};return o.sendMessageAwaitResponse("xhr",n).then((t=>function(t,e){if(z(f(t),"Object expected: %s",t),"document"!=e)return new Response(t.body,t.init);const i=g(),s={status:200,statusText:"OK",getResponseHeader:t=>i[String(t).toLowerCase()]||null};if(t.init){const e=t.init;b(e.headers)&&e.headers.forEach((t=>{const e=t[0],s=t[1];i[String(e).toLowerCase()]=String(s)})),e.status&&(s.status=parseInt(e.status,10)),e.statusText&&(s.statusText=String(e.statusText))}return new Response(t.body?String(t.body):"",s)}(t,s.responseType)))})):n}(this.win,this.Jr,t,e).then((t=>{if(t)return t;if(Qr(e.body)){const t=e.body;e.body=t.getFormData()}return this.win.fetch.apply(null,arguments)}))}Xr(t,e={}){return t=function(t,e,i){return C("string"==typeof e),!1!==i.ampCors&&(e=Rn(t,e)),e}(this.win,t,e),e=function(t,e,i){i=i||{};const s=function(t){return t.origin||pn(t.location.href).origin}(t);return s==pn(e).origin&&(i.headers=i.headers||{},i.headers["AMP-Same-Origin"]="true"),i}(this.win,t,e),this.Qr(t,e).then((t=>t),(e=>{const i=pn(t).origin;throw gt().createExpectedError("XHR",`Failed fetching (${i}/...):`,e&&e.message)}))}fetchJson(t,e){return this.fetch(t,function(t){const e=io(t,"application/json");if("POST"==e.method&&!Qr(e.body)){C(to.some((t=>t(e.body)))),e.headers["Content-Type"]=e.headers["Content-Type"]||"text/plain;charset=utf-8";const t=e.headers["Content-Type"];e.body="application/x-www-form-urlencoded"===t?_n(e.body):JSON.stringify(e.body)}return e}(e))}fetchText(t,e){return this.fetch(t,io(e,"text/plain"))}xssiJson(t,e){return e?t.text().then((t=>t.startsWith(e)?U(t.slice(e.length)):U(t))):t.json()}fetch(t,e){const i=io(e);return this.Xr(t,i).then((t=>so(t)))}sendSignal(t,e){return this.Xr(t,e).then((t=>so(t)))}getCorsUrl(t,e){return Rn(t,e)}},ro=class extends no{constructor(t){super(t),this.Zr=g()}fetch(t,e){const i=e&&e.headers&&e.headers.Accept||"",s=!e||!e.method||"GET"===e.method,n=this.th(t,i),r=!!this.Zr[n];if(s&&r)return this.Zr[n].then((t=>t.clone()));const o=super.fetch(t,e);return s&&(this.Zr[n]=o.then((t=>(delete this.Zr[n],t.clone())),(t=>{throw delete this.Zr[n],t}))),o}th(t,e){return Pn(Mn(t,Sn(this.win.location)))+e}},oo={"+":"-","/":"_","=":"."};function ho(t){const e=function(t){const e=new Array(t.length);for(let i=0;i<t.length;i++)e[i]=String.fromCharCode(t[i]);return e.join("")}(t);return btoa(e).replace(/[+/=]/g,(t=>oo[t]))}var ao="Crypto";var co=["prefetch","preload","preconnect","dns-prefetch"],lo={attributes:!0,attributeFilter:["hidden"],subtree:!0};function uo(t){try{return t.state}catch(t){return null}}var po="History",mo="AMP.History";function fo(t){const e=ei(t);let i;return e.isOvertakeHistory()||t.win.__AMP_TEST_IFRAME?i=new class{constructor(t,e){this.win=t,this.sh=e,this.eh=0,this.nh=null,this.rh=this.sh.onMessage("historyPopped",(t=>this.hh(t)))}replaceStateForTarget(t){At("#"==t[0]),this.win.location.replace(t)}cleanup(){this.rh()}setOnStateUpdated(t){this.nh=t}oh(t,e,i){return this.uh(t)?t:e}uh(t){return!!t&&void 0!==t.stackIndex}push(t){const e=y({"stackIndex":this.eh+1},t||{}),i="pushHistory";return this.sh.sendMessageAwaitResponse(i,e).then((t=>{const s=e,n=this.oh(t,s,i);return this.lh(n),n}))}pop(t){if(t>this.eh)return this.get();const e={"stackIndex":this.eh},i="popHistory";return this.sh.sendMessageAwaitResponse(i,e).then((t=>{const e={"stackIndex":this.eh-1},s=this.oh(t,e,i);return this.lh(s),s}))}replace(t){if(t&&t.url){if(!this.sh.hasCapability("fullReplaceHistory")){const t={"stackIndex":this.eh};return Promise.resolve(t)}const e=t.url.replace(/#.*/,"");t.url=e}const e=y({"stackIndex":this.eh},t||{}),i="replaceHistory";return this.sh.sendMessageAwaitResponse(i,e,!0).then((t=>{const s=e,n=this.oh(t,s,i);return this.lh(n),n}))}get(){return Promise.resolve({data:void 0,fragment:"",stackIndex:this.eh,title:""})}hh(t){void 0!==t.newStackIndex&&(t.stackIndex=t.newStackIndex),this.uh(t)&&this.lh(t)}lh(t){const{stackIndex:e}=t;this.eh!=e&&(this.eh=e,this.nh&&this.nh(t))}getFragment(){return this.sh.hasCapability("fragment")?this.sh.sendMessageAwaitResponse("getFragment",void 0,!0).then((t=>{if(!t)return"";let e=t;return"#"==e[0]&&(e=e.substr(1)),e})):Promise.resolve("")}updateFragment(t){return this.sh.hasCapability("fragment")?this.sh.sendMessageAwaitResponse("replaceHistory",{"fragment":t},!0):r()}}(t.win,e):(ee(t.win,"global-history-binding",class{constructor(t){this.win=t,this.Fr=Xe(t);const{history:e}=this.win;this.ah=e.length-1;const i=uo(e);let s,n;i&&void 0!==i[mo]&&(this.ah=Math.min(i[mo],this.ah)),this.eh=this.ah,this.dh,this.nh=null,this.fh="state"in e,this.ph=this.mh(this.eh),e.pushState&&e.replaceState?(this._h=e.originalPushState||e.pushState.bind(e),this.Ah=e.originalReplaceState||e.replaceState.bind(e),s=(t,e,i)=>{this.ph=t,this._h(t,e,i||null)},n=(t,e,i)=>{this.ph=t,void 0!==i?this.Ah(t,e,i):this.Ah(t,e)},e.originalPushState||(e.originalPushState=this._h),e.originalReplaceState||(e.originalReplaceState=this.Ah)):(s=(t,e,i)=>{this.ph=t},n=(t,e,i)=>{this.ph=t}),this.gh=s,this.Ph=n;try{this.Ph(this.mh(this.eh,!0))}catch(t){_t().error(po,"Initial replaceState failed: "+t.message)}e.pushState=this.Eh.bind(this),e.replaceState=this.Th.bind(this),this.Ih=t=>{t.state,this.yh()},this.win.addEventListener("popstate",this.Ih)}cleanup(){this._h&&(this.win.history.pushState=this._h),this.Ah&&(this.win.history.replaceState=this.Ah),this.win.removeEventListener("popstate",this.Ih)}mh(t,e){const i=g(e?this.Mh():void 0);return i[mo]=t,i}setOnStateUpdated(t){this.nh=t}push(t){return this.Rh((()=>{const e=this.bh(this.Mh(),t||{});return this.Eh(e,void 0,e.fragment?"#"+e.fragment:void 0),h((()=>this.bh(e,{stackIndex:this.eh})))}))}pop(t){return t=Math.max(t,this.ah),this.Rh((()=>this.wh(this.eh-t+1))).then((t=>this.bh(this.Mh(),{stackIndex:t})))}replace(t={}){return this.Rh((()=>{const e=this.bh(this.Mh(),t||{}),i=(e.url||"").replace(/#.*/,""),s=e.fragment?"#"+e.fragment:"";return this.Th(e,e.title,i||s?i+s:void 0),h((()=>this.bh(e,{stackIndex:this.eh})))}))}get(){return h((()=>this.bh(this.Mh(),{stackIndex:this.eh})))}backTo(t){return t=Math.max(t,this.ah),this.Rh((()=>this.wh(this.eh-t)))}yh(){let t=this.Mh();const e=t?t[mo]:void 0;let i=this.eh;const s=this.dh;this.dh=void 0,i>this.win.history.length-2&&(i=this.win.history.length-2,this.lh(this.bh(t,{stackIndex:i}))),null==e?i+=1:i=e<this.win.history.length?e:this.win.history.length-1,t||(t={}),t[mo]=i,this.Ph(t,void 0,void 0),i!=this.eh&&this.lh(this.bh(t,{stackIndex:i})),i<this.ah&&(this.ah=i),s&&s.resolve()}Mh(){return this.fh?uo(this.win.history):this.ph}Vh(){At(!this.dh)}Rh(t){return this.dh?this.dh.promise.then(t,t):t()}Sh(){this.Vh();const t=new o,{reject:e,resolve:i}=t,s=this.Fr.timeoutPromise(500,t.promise);return this.dh={promise:s,resolve:i,reject:e},s}wh(t){if(this.Vh(),t<=0)return Promise.resolve(this.eh);this.ph=this.mh(this.eh-t);const e=this.Sh();return this.win.history.go(-t),e.then((()=>Promise.resolve(this.eh)))}Eh(t,e,i){this.Vh(),t||(t={});let s=this.eh+1;t[mo]=s,this.gh(t,e,i),s!=this.win.history.length-1&&(s=this.win.history.length-1,t[mo]=s,this.Ph(t));const n=this.bh(t,{stackIndex:s});this.lh(n)}replaceStateForTarget(t){At("#"==t[0]),this.Rh((()=>{this.win.removeEventListener("popstate",this.Ih);try{this.win.location.replace(t)}finally{this.win.addEventListener("popstate",this.Ih)}return this.Th(),r()}))}Th(t,e,i){this.Vh(),t||(t={});const s=Math.min(this.eh,this.win.history.length-1);t[mo]=s,this.Ph(t,e,i);const n=this.bh(t,{stackIndex:s});this.lh(n)}lh(t){this.Vh(),t.stackIndex=Math.min(t.stackIndex,this.win.history.length-1),this.eh!=t.stackIndex&&(this.eh=t.stackIndex,this.nh&&this.nh(t))}getFragment(){let{hash:t}=this.win.location;return t=t.substr(1),Promise.resolve(t)}updateFragment(t){return this.replace({fragment:t})}bh(t,e){const i=y(y({},t&&t.data||{}),e.data||{});return y(y(y({},t||{}),e),{},{data:i})}}),i=se(t.win,"global-history-binding")),new class{constructor(t,e){this.es=t,this.Fr=Xe(t.win),this.xh=e,this.eh=0,this.Oh=[],this.gs=[],this.xh.setOnStateUpdated(this.nh.bind(this))}cleanup(){this.xh.cleanup()}push(t,e){return this.Ch((()=>this.xh.push(e).then((e=>(this.nh(e),t&&(this.Oh[e.stackIndex]=t),e.stackIndex)))),"push")}pop(t){return this.Ch((()=>this.xh.pop(t).then((t=>{this.nh(t)}))),"pop")}replace(t){return this.Ch((()=>this.xh.replace(t)),"replace")}get(){return this.Ch((()=>this.xh.get()),"get")}goBack(t){return this.Ch((()=>this.eh<=0&&!t?r():this.xh.pop(this.eh).then((t=>{this.nh(t)}))),"goBack")}replaceStateForTarget(t){At("#"==t[0]);const e=this.es.win.location.hash;return this.push((()=>{this.es.win.location.replace(e||"#")})).then((()=>{this.xh.replaceStateForTarget(t)}))}getFragment(){return this.xh.getFragment()}updateFragment(t){return"#"==t[0]&&(t=t.substr(1)),this.xh.updateFragment(t)}nh(t){this.eh=t.stackIndex,this.kh(t)}kh(t){if(this.eh>=this.Oh.length-1)return;const e=[];for(let t=this.Oh.length-1;t>this.eh;t--)this.Oh[t]&&(e.push(this.Oh[t]),this.Oh[t]=void 0);if(this.Oh.splice(this.eh+1),e.length>0)for(let i=0;i<e.length;i++)this.Fr.delay((()=>e[i](t)),1)}Ch(t,e){const i=new o,{promise:s,reject:n,resolve:r}=i,h=new Error("history trace for "+e+": ");return this.gs.push({callback:t,resolve:r,reject:n,trace:h}),1==this.gs.length&&this.Nh(),s}Nh(){if(0==this.gs.length)return;const t=this.gs[0];let e;try{e=t.callback()}catch(t){e=Promise.reject(t)}e.then((e=>{t.resolve(e)}),(e=>{_t().error(po,"failed to execute a task:",e),t.trace&&(t.trace.message+=e,_t().error(po,t.trace)),t.reject(e)})).then((()=>{this.gs.splice(0,1),this.Nh()}))}}(t,i)}new WeakMap,new WeakMap;var go=null,vo=["gclid","gclsrc"];function _o(){return yt(go,"E#19457 trackImpressionPromise")}function Ao(t,e,i,s){let n;try{n=t.open(e,i,s)}catch(t){_t().error("DOM","Failed to open url on target: ",i,t)}var r,o;return!n&&"_top"!=i&&("number"!=typeof o&&(o=0),o+"noopener".length>(r=s||"").length||-1===r.indexOf("noopener",o))&&(n=t.open(e,"_top")),n}var yo="navigation",Po="click",bo="contextmenu",Io=["_top","_blank"],wo="data-a4a-orig-href",Eo=class{constructor(t){this.ampdoc=t,this.Kd=t.getRootNode(),this.aa=si(this.ampdoc),this.sh=ei(this.ampdoc),this.Lh=qe(this.ampdoc),this.uu=Ke(this.ampdoc.win),this.Yd=this.uu.isIos()&&this.uu.isSafari(),this.dc=$t(this.ampdoc.win)&&this.sh.isOvertakeHistory(),this.Jd=this.Kd!=this.ampdoc.getRootNode()||!!this.ampdoc.getParent(),this.Qd="inabox"==nt(this.ampdoc.win).runtime,this.Xd=this.Kd.nodeType==Node.DOCUMENT_NODE?this.Kd.documentElement:this.Kd,this.Zd=this.tf.bind(this),this.Kd.addEventListener(Po,this.Zd),this.Kd.addEventListener(bo,this.Zd),this.if=!1,function(t){return t.whenReady().then((()=>!!t.getBody().querySelector("amp-analytics[type=googleanalytics]")))}(this.ampdoc).then((t=>{this.if=t})),this.Sc=!1,this.sf=!1,Promise.all([this.sh.isTrustedViewer(),this.sh.getViewerOrigin()]).then((t=>{var e;this.Sc=t[0],this.sf=(e=t[1],et.localhostRegex.test(dn(e).origin))})),this.ef=null,this.nf=new Bn,this.rf=new Bn}static installAnchorClickInterceptor(t,e){e.document.documentElement.addEventListener("click",To.bind(null,t),!0)}cleanup(){this.Zd&&(this.Kd.removeEventListener(Po,this.Zd),this.Kd.removeEventListener(bo,this.Zd))}openWindow(t,e,i,s){let n="";!this.uu.isIos()&&this.uu.isChrome()||s||(n+="noopener");const r=Ao(t,e,i,n);r&&!s&&(r.opener=null)}navigateTo(t,e,i,s={}){const{opener:n=!1,target:r="_top"}=s;e=this.hf(e);const o=ti(this.Xd);if(!o.isProtocolValid(e))return void gt().error(yo,"Cannot navigate to invalid protocol: "+e);yt(Io.includes(r),`Target '${r}' not supported.`);const h=o.getSourceUrl(t.location);e=o.resolveRelativeUrl(e,h),"_blank"!=r?i&&(this.ef||(this.ef=this.uf()),this.ef.includes(i)&&this.navigateToAmpUrl(e,i))||(t.top.location.href=e):this.openWindow(t,e,r,n)}navigateToAmpUrl(t,e){return!!this.sh.hasCapability("a2a")&&(this.sh.sendMessage("a2aNavigate",{"url":t,"requestedBy":e}),!0)}uf(){const t=this.Kd.querySelector('meta[name="amp-to-amp-navigation"]');return t&&t.hasAttribute("content")?t.getAttribute("content").split(",").map((t=>t.trim())):[]}tf(t){if(t.defaultPrevented)return;const e=St(t.__AMP_CUSTOM_LINKER_TARGET__||t.target,"A");e&&e.href&&(t.type==Po?this.lf(e,t):t.type==bo&&this.cf(e,t))}lf(t,e){this.af(t);let i=this.df(t.href);if(this.ff(e,t,i))return;if(this.pf(e,t,i))return;const s=this.mf();So(i)!=So(s)&&(this._f(t,e),i=this.df(t.href)),this.Af(e,t,i,s)}cf(t,e){this.af(t),this._f(t,e)}_f(t,e){this.nf.forEach((i=>{i(t,e)}))}hf(t){return this.rf.forEach((e=>{t=e(t)})),t}af(t){let e=null;this.if&&!this.Jd&&(e=function(t,e){const i=Y(pn(os.getLocation(t).href).search),s=[];for(let t=0;t<vo.length;t++){const e=vo[t];void 0!==i[e]&&s.push(e)}const n=e.getAttribute("data-amp-addparams");let{href:r}=e;n&&(r=vn(r,Y(n)));const o=Y(pn(r).search);for(let t=s.length-1;t>=0;t--)void 0!==o[s[t]]&&s.splice(t,1);return function(t){let e="";for(let i=0;i<t.length;i++){const s=t[i];e+=0==i?`${s}=QUERY_PARAM(${s})`:`&${s}=QUERY_PARAM(${s})`}return e}(s)}(this.ampdoc.win,t)),Qe(t).maybeExpandLink(t,e)}pf(t,e,i){if(!this.dc)return!1;const s=Pt(e),n=e.href,{protocol:r}=i;if("ftp:"==r)return Ao(s,n,"_blank"),t.preventDefault(),!0;const o=/^(https?|mailto):$/.test(r);return!(!this.Yd||o||(Ao(s,n,"_top"),t.preventDefault(),0))}ff(t,e,i){return!(!e.hasAttribute("rel")||!e.getAttribute("rel").split(" ").map((t=>t.trim())).includes("amphtml")||!this.navigateToAmpUrl(i.href,"<a rel=amphtml>")||(t.preventDefault(),0))}Af(t,e,i,s){const n=So(i),r=So(s);if(i.hash&&n==r)this.gf(t,i,s);else{let i=(e.getAttribute("target")||"").toLowerCase();(this.Jd||this.Qd)&&"_top"!=i&&"_blank"!=i&&(i="_blank",e.setAttribute("target",i));const{win:r}=this.ampdoc,o=Ke(r),h=ei(e);s.search&&o.isSafari()&&o.getMajorVersion()>=13&&h.isProxyOrigin()&&h.isEmbedded()&&this.Pf(r,s,i),this.viewerInterceptsNavigation(n,"intercept_click")&&t.preventDefault()}}Pf(t,e,i){const s=e.href,n=`${e.origin}${e.pathname}${e.hash}`;t.history.replaceState(null,"",n);const r=()=>{const e=t.location.href;e==n?t.history.replaceState(null,"",s):_t().error(yo,"Unexpected iframe URL change:",e,n)};"_blank"===i?t.setTimeout(r,0):t.addEventListener("pageshow",(function e(i){i.persisted&&(r(),t.removeEventListener("pageshow",e))}))}gf(t,e,i){if(t.preventDefault(),this.Jd)return;const s=e.hash.slice(1);let n=null;if(s){const t=It(s);n=this.Kd.getElementById(s)||this.Kd.querySelector(`a[name="${t}"]`)}e.hash!=i.hash?this.Lh.replaceStateForTarget(e.hash).then((()=>{this.vf(n,s)})):this.vf(n,s)}registerAnchorMutator(t,e){this.nf.enqueue(t,e)}registerNavigateToMutator(t,e){this.rf.enqueue(t,e)}vf(t,e){t&&(this.aa.scrollIntoView(t),Xe(this.ampdoc.win).delay((()=>this.aa.scrollIntoView(t)),1))}df(t){return ti(this.Xd).parse(t)}mf(){return this.df("")}viewerInterceptsNavigation(t,e){const i=this.sh.hasCapability("interceptNavigation"),s=this.ampdoc.isSingleDoc()&&this.ampdoc.getRootNode().documentElement.hasAttribute("allow-navigation-interception");return!(!i||!s||!this.Sc&&!this.sf||(this.sh.sendMessage("navigateTo",{"url":t,"requestedBy":e}),0))}};function To(t,e){const i=St(e.target,"A");if(!i||!i.href)return;const s=i.getAttribute(wo)||i.getAttribute("href");if(!s)return;const n={"CLICK_X":()=>e.pageX,"CLICK_Y":()=>e.pageY},r=Qe(i).expandUrlSync(s,n,{"CLICK_X":!0,"CLICK_Y":!0});r!=s&&(i.getAttribute(wo)||i.setAttribute(wo,s),i.setAttribute("href",r))}function So(t){return`${t.origin}${t.pathname}${t.search}`}function Mo(t){return b(t)?t:[t]}function Ro(t){ee(t,"platform",class{constructor(t){this.Gu=t.navigator,this.i=t}isAndroid(){return/Android/i.test(this.Gu.userAgent)}isIos(){return/iPhone|iPad|iPod/i.test(this.Gu.userAgent)}isSafari(){return/Safari/i.test(this.Gu.userAgent)&&!this.isChrome()&&!this.isEdge()&&!this.isFirefox()&&!this.isOpera()}isChrome(){return/Chrome|CriOS/i.test(this.Gu.userAgent)&&!this.isEdge()&&!this.isOpera()}isFirefox(){return/Firefox|FxiOS/i.test(this.Gu.userAgent)&&!this.isEdge()}isOpera(){return/OPR\/|Opera|OPiOS/i.test(this.Gu.userAgent)}isEdge(){return/Edge/i.test(this.Gu.userAgent)}isWebKit(){return/WebKit/i.test(this.Gu.userAgent)&&!this.isEdge()}isWindows(){return/Windows/i.test(this.Gu.userAgent)}isStandalone(){return this.isIos()&&this.Gu.standalone||this.isChrome()&&this.i.matchMedia("(display-mode: standalone)").matches}isBot(){return/bot/i.test(this.Gu.userAgent)}getMajorVersion(){return this.isSafari()?this.isIos()?this.getIosMajorVersion()||0:this.qu(/\sVersion\/(\d+)/,1):this.isChrome()?this.qu(/(Chrome|CriOS)\/(\d+)/,2):this.isFirefox()?this.qu(/(Firefox|FxiOS)\/(\d+)/,2):this.isOpera()?this.qu(/(OPR|Opera|OPiOS)\/(\d+)/,2):this.isEdge()?this.qu(/Edge\/(\d+)/,1):0}qu(t,e){if(!this.Gu.userAgent)return 0;const i=this.Gu.userAgent.match(t);return!i||e>=i.length?0:parseInt(i[e],10)}getIosVersionString(){var t,e,i;return this.isIos()&&(null===(t=this.Gu.userAgent)||void 0===t||null===(e=t.match(/OS ([0-9]+[_.][0-9]+([_.][0-9]+)?)\b/))||void 0===e||null===(i=e[1])||void 0===i?void 0:i.replace(/_/g,"."))||""}getIosMajorVersion(){const t=this.getIosVersionString();return""==t?null:Number(t.split(".")[0])}})}function xo(t){return t.hasAttribute("hidden")}var ko="STANDARD-ACTIONS",jo=/^i-amphtml-/,Vo="__AMP_IMPL_",Oo=()=>{};function Co(t){ee(t,"timer",class{constructor(t){this.win=t,this.Eo=this.win.Promise.resolve(),this.To=0,this.Io={},this.yo=Date.now()}timeSinceStart(){return Date.now()-this.yo}delay(t,e){if(!e){const e="p"+this.To++;return this.Eo.then((()=>{this.Io[e]?delete this.Io[e]:t()})).catch(Cn),e}return this.win.setTimeout((()=>{try{t()}catch(t){throw Cn(t),t}}),e)}cancel(t){"string"!=typeof t?this.win.clearTimeout(t):this.Io[t]=!0}promise(t){return new this.win.Promise((e=>{if(-1==this.delay(e,t))throw new Error("Failed to schedule timer.")}))}timeoutPromise(t,e,i){let s;const n=new this.win.Promise(((e,n)=>{if(s=this.delay((()=>{n(gt().createError(i||"timeout"))}),t),-1==s)throw new Error("Failed to schedule timer.")}));if(!e)return n;const r=()=>{this.cancel(s)};return e.then(r,r),this.win.Promise.race([n,e])}poll(t,e){return new this.win.Promise((i=>{const s=this.win.setInterval((()=>{e()&&(this.win.clearInterval(s),i())}),t)}))}})}var No="Expander",Lo=class{constructor(t,e,i,s,n,r){this.Mo=t,this.Ro=e,this.bo=i,this.Vo=s,this.So=n,this.xo=!r}expand(t){if(!t.length)return this.Vo?t:Promise.resolve(t);const e=this.Mo.getExpr(this.Ro,this.So),i=this.Oo(t,e);return i.length?this.Co(t,i):this.Vo?t:Promise.resolve(t)}getMacroNames(t){const e=this.Mo.getExpr(this.Ro,this.So);return t.match(e)||[]}Oo(t,e){const i=[];return t.replace(e,((t,e,s)=>{const{length:n}=t,r={start:s,stop:n+s-1,name:e,length:n};i.push(r)})),i}Co(t,e){const i=[];let s=0,n=0,r=e[n],o=0,h=!1;const a=c=>{let l="",d=[];const p=[];for(;s<t.length&&n<=e.length;){const u=l.trim();if(r&&s===r.start){let h;u&&d.push(o?(m=l).trimStart?m.trimStart():(m+"_").trim().slice(0,-1):l),h=this.Ro&&v(this.Ro,r.name)?{name:r.name,prioritized:this.Ro[r.name],encode:c}:y(y({},this.Mo.get(r.name)),{},{name:r.name,encode:c}),s=r.stop+1,r=e[++n],"("===t[s]?(s++,o++,i.push(h),d.push(a(!1))):d.push(this.ko(h)),l=""}else if("`"===t[s])h?(h=!1,l.length&&d.push(l)):(h=!0,u&&d.push(u)),l="",s++;else if(o&&","===t[s]&&!h)u&&d.push(u),p.push(d),d=[],","===t[s+1]&&(p.push([""]),s++),l="",s++;else{if(o&&")"===t[s]&&!h){s++,o--;const t=i.pop();return u&&d.push(u),p.push(d),this.ko(t,p)}l+=t[s],s++}s===t.length&&l.length&&d.push(l)}var m;return this.Vo?d.join(""):Promise.all(d).then((t=>t.join(""))).catch((t=>(u(t),"")))};return a(this.xo)}ko(t,e){const{encode:i,name:s}=t;let n;if(null!=t.prioritized?n=t.prioritized:this.Vo&&null!=t.sync?n=t.sync:this.Vo?(gt().error(No,"ignoring async replacement key: ",t.name),n=""):n=t.async||t.sync,this.Vo){const t=this.No(n,s,e);return i?encodeURIComponent(t):t}return this.Do(n,s,e).then((t=>i?encodeURIComponent(t):t))}Do(t,e,i){let s;try{if("function"==typeof t){const e=t;s=i?this.Lo(i).then((t=>e.apply(null,t))):h(e)}else s=Promise.resolve(t);return s.then((t=>{let s;return this.Uo(e,t,i),s=null==t?"":t,s})).catch((t=>(u(t),this.Uo(e,"",i),Promise.resolve(""))))}catch(t){return u(t),this.Uo(e,"",i),Promise.resolve("")}}Lo(t){return Promise.all(t.map((t=>Promise.all(t).then((t=>t.join(""))))))}No(t,e,i){try{let s,n=t;return"function"==typeof t&&(n=t.apply(null,this.$o(i))),n&&"function"==typeof n.then?(gt().error(No,"ignoring async macro resolution"),s=""):"string"==typeof n||"number"==typeof n||"boolean"==typeof n?(this.Uo(e,n,i),s=n.toString()):(this.Uo(e,"",i),s=""),s}catch(t){return u(t),this.Uo(e,"",i),""}}$o(t){return t?t.map((t=>t.join(""))):t}Uo(t,e,i){if(!this.bo)return;let s="";i&&(s=`(${i.filter((t=>""!==t)).join(",")})`),this.bo[`${t}${s}`]=e||""}},Do="UrlReplacements";function zo(t){return()=>(new Date)[t]()}function Uo(t,e){return()=>t[e]}function $o(t,e){return e?(yt("ISOCountry"===e,"The value passed to AMP_GEO() is not valid name:"+e),t&&t[e]||"unknown"):(null==t?void 0:t.matchedISOCountryGroups.join(","))||"unknown"}function Fo(t,e){At(t);try{void 0!==t(e)&&_t().error("VSYNC","callback returned a value but vsync cannot propogate it: %s",t.toString())}catch(t){return u(t),!1}return!0}function Ho(t){if(t.defaultPrevented)return;const e=t.target;if(!e||"FORM"!=e.tagName)return;let i;i=e.classList.contains("i-amphtml-form")?!e.hasAttribute("amp-novalidate"):!e.hasAttribute("novalidate"),i&&e.checkValidity&&!e.checkValidity()&&t.preventDefault();const s=e.elements;for(let t=0;t<s.length;t++)yt(!s[t].name||s[t].name!=un,"Illegal input name, %s found: %s",un,s[t]);const n=e.getAttribute("action"),r=e.getAttribute("action-xhr"),o=(e.getAttribute("method")||"GET").toUpperCase();if(r&&(yn(r,e,"action-xhr"),yt(!bn(r),"form action-xhr should not be on AMP CDN: %s",e),xn(r)),n&&(yn(n,e,"action"),yt(!bn(n),"form action should not be on AMP CDN: %s",e),xn(n)),"GET"==o)yt(r||n,"form action-xhr or action attribute is required for method=GET: %s",e);else if("POST"==o){if(n){const t="form";gt().error(t,"action attribute is invalid for method=POST: %s",e)}r||(t.preventDefault(),yt(!1,"Only XHR based (via action-xhr attribute) submissions are support for POST requests. %s",e))}const h=e.getAttribute("target");h?yt("_blank"==h||"_top"==h,"form target=%s is invalid can only be _blank or _top: %s",h,e):e.setAttribute("target","_top"),r&&(t.preventDefault(),t.stopImmediatePropagation(),Le(e).execute(e,"submit",null,e,e,t,3))}var Bo=["<link rel=preload referrerpolicy=origin>"],qo=18e4,Go=null;function Wo(t){var e;(function(t){ee(t,"crypto",class{constructor(t){this.i=t;let e=null,i=!1;t.crypto&&(t.crypto.subtle?e=t.crypto.subtle:t.crypto.webkitSubtle&&(e=t.crypto.webkitSubtle,i=!0)),this.pkcsAlgo={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},this.subtle=e,this.Hu=i,this.ju=null}sha384(t){if("string"==typeof t&&(t=F(t)),!this.subtle||this.ju)return(this.ju||this.zu()).then((e=>e(t)));try{return this.subtle.digest({name:"SHA-384"},t).then((t=>new Uint8Array(t)),(e=>(e.message&&e.message.indexOf("secure origin")<0&&gt().error(ao,"SubtleCrypto failed, fallback to closure lib.",e),this.zu().then((()=>this.sha384(t))))))}catch(e){return _t().error(ao,"SubtleCrypto failed, fallback to closure lib.",e),this.zu().then((()=>this.sha384(t)))}}sha384Base64(t){return this.sha384(t).then((t=>ho(t)))}uniform(t){return this.sha384(t).then((t=>{let e=0;for(let i=2;i>=0;i--)e=(e+t[i])/256;return e}))}zu(){return this.ju?this.ju:this.ju=Be(this.i).preloadExtension("amp-crypto-polyfill").then((()=>se(this.i,"crypto-polyfill")))}isPkcsAvailable(){return Boolean(this.subtle)&&!1!==this.i.isSecureContext}importPkcsKey(t){At(this.isPkcsAvailable());const e=this.Hu?(i=JSON.stringify(t),"undefined"!=typeof TextEncoder?(new TextEncoder).encode(i):F(unescape(encodeURIComponent(i)))):t;var i;return this.subtle.importKey("jwk",e,this.pkcsAlgo,!0,["verify"])}verifyPkcs(t,e,i){return At(this.isPkcsAvailable()),this.subtle.verify(this.pkcsAlgo,t,e,i)}})})(t),ee(t,"batched-xhr",ro),Ro(t),Co(t),Co(e=t),ee(e,"vsync",class{constructor(t){this.win=t,this.Wu=Ue(this.win),this.Ku=this.Yu(),this.Ss=[],this.Ju=[],this.Qu=[],this.Xu=[],this.jr=!1,this.Zu=null,this.tl=null,this.il=this.sl.bind(this),this.nl=new jr(this.win,this.il,16),this.rl=new jr(this.win,this.il,40),this.hl=this.ol.bind(this),this.Wu.isSingleDoc()?this.Wu.getSingleDoc().onVisibilityChanged(this.hl):ss(this.win.document,this.hl)}dispose(){ns(this.win.document,this.hl)}ol(){this.jr&&this.ul()}run(t,e){this.Ss.push(t),this.Qu.push(e||void 0),this.Ds()}runPromise(t,e){if(this.run(t,e),this.Zu)return this.Zu;const i=new o;return this.tl=i.resolve,this.Zu=i.promise}createTask(t){return e=>{this.run(t,e)}}mutate(t){this.run({measure:void 0,mutate:t})}mutatePromise(t){return this.runPromise({measure:void 0,mutate:t})}measure(t){this.run({measure:t,mutate:void 0})}measurePromise(t){return new Promise((e=>{this.measure((()=>{e(t())}))}))}canAnimate(t){return this.ll(At(t))}ll(t){if(is(this.win.document)!=Di)return!1;if(this.Wu.isSingleDoc())return this.Wu.getSingleDoc().isVisible();if(t){const e=this.Wu.getAmpDocIfAvailable(t);return!e||e.isVisible()}return!0}runAnim(t,e,i){return!!this.ll(t)&&(this.run(e,i),!0)}createAnimTask(t,e){return i=>this.runAnim(t,e,i)}runAnimMutateSeries(t,e,i){return this.ll(t)?new Promise(((s,n)=>{const r=Date.now();let o=0;const h=this.createAnimTask(t,{mutate:t=>{const a=Date.now()-r;e(a,a-o,t)?i&&a>i?n(new Error("timeout")):(o=a,h(t)):s()}});h({})})):Promise.reject(Nn())}Ds(){this.jr||(this.jr=!0,this.ul())}ul(){this.ll()?(this.Ku(this.il),this.rl.schedule()):this.nl.schedule()}sl(){this.rl.cancel(),this.jr=!1;const{tl:t,Qu:e,Ss:i}=this;this.tl=null,this.Zu=null,this.Ss=this.Ju,this.Qu=this.Xu;for(let t=0;t<i.length;t++)i[t].measure&&(Fo(i[t].measure,e[t])||(i[t].mutate=void 0));for(let t=0;t<i.length;t++)i[t].mutate&&Fo(i[t].mutate,e[t]);this.Ju=i,this.Xu=e,this.Ju.length=0,this.Xu.length=0,t&&t()}Yu(){const t=this.win.requestAnimationFrame||this.win.webkitRequestAnimationFrame;if(t)return t.bind(this.win);let e=0;return t=>{const i=Date.now(),s=Math.max(0,16-(i-e));e=i+s,this.win.setTimeout(t,s)}}}),function(t){ee(t,"xhr",no)}(t),function(t){ee(t,"input",class{constructor(t){this.win=t,this.cl=this.al.bind(this),this.dl=this.fl.bind(this),this.pl=null,this.ml=null,this._l=null,this.Al="ontouchstart"in t||void 0!==t.navigator.maxTouchPoints&&t.navigator.maxTouchPoints>0||void 0!==t.DocumentTouch,this.gl=!1,this.win.document.addEventListener("keydown",this.cl),this.win.document.addEventListener("mousedown",this.dl),this.Pl=!0,this.vl=0,this.El=new Fi,this.Tl=new Fi,this.Il=new Fi,this.Al&&(this.Pl=!this.Al,this.pl=this.yl.bind(this),bi(t.document,"mousemove",this.pl))}setupInputModeClasses(t){this.onTouchDetected((e=>{this.Ml(t,"amp-mode-touch",e)}),!0),this.onMouseDetected((e=>{this.Ml(t,"amp-mode-mouse",e)}),!0),this.onKeyboardStateChanged((e=>{this.Ml(t,"amp-mode-keyboard-active",e)}),!0)}isTouchDetected(){return this.Al}onTouchDetected(t,e){return e&&t(this.isTouchDetected()),this.El.add(t)}isMouseDetected(){return this.Pl}onMouseDetected(t,e){return e&&t(this.isMouseDetected()),this.Tl.add(t)}isKeyboardActive(){return this.gl}onKeyboardStateChanged(t,e){return e&&t(this.isKeyboardActive()),this.Il.add(t)}Ml(t,e,i){t.waitForBodyOpen().then((t=>{ii(this.win).mutate((()=>{t.classList.toggle(e,i)}))}))}al(t){if(this.gl)return;if(t.defaultPrevented)return;const{target:e}=t;e&&("INPUT"==e.tagName||"TEXTAREA"==e.tagName||"SELECT"==e.tagName||"OPTION"==e.tagName||e.hasAttribute("contenteditable"))||(this.gl=!0,this.Il.fire(!0))}fl(){this.gl&&(this.gl=!1,this.Il.fire(!1))}yl(t){if(t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents)return void this.Rl();let e;this._l||(this._l=this.bl.bind(this),this.ml=this.Rl.bind(this));const i=function(t,e,i,s){let n;const r=new Promise((e=>{n=bi(t,"click",e,void 0)}));return r.then(n,n),s&&s(n),r}(this.win.document,0,0,(t=>{e=t}));return Xe(this.win).timeoutPromise(300,i).then(this.ml,(()=>{e&&e(),this._l()}))}bl(){this.Pl=!0,this.Tl.fire(!0)}Rl(){this.vl++,this.vl<=3&&bi(this.win.document,"mousemove",this.pl)}})}(t),function(t){ee(t,"preconnect",class{constructor(t){this.wl=t.document,this.Vl=t.document.head,this.Sl={},this.xl={},this.uu=Ke(t),this.Sl[pn(t.location.href).origin]=!0,this.Ol=function(t){if(!Go){const e=t.document.createElement("link"),i=e.relList;if(e.as="invalid-value",!i||!i.supports)return{};Go={preconnect:i.supports("preconnect"),preload:i.supports("preload"),onlyValidAs:"invalid-value"!=e.as}}return Go}(t),this.Fr=Xe(t)}url(t,e,i){t.whenFirstVisible().then((()=>{this.bi(t,e,i)}))}bi(t,e,i){if(!this.Cl(e))return;const{origin:s}=pn(e),n=Date.now(),r=this.Sl[s];if(r&&n<r)return void(i&&(this.Sl[s]=n+qo));const o=i?qo:1e4;let h;this.Sl[s]=n+o,this.Ol.preconnect||(h=this.wl.createElement("link"),h.setAttribute("rel","dns-prefetch"),h.setAttribute("href",s),this.Vl.appendChild(h));const a=this.wl.createElement("link");a.setAttribute("rel","preconnect"),a.setAttribute("href",s),a.setAttribute("referrerpolicy","origin"),this.Vl.appendChild(a),this.Fr.delay((()=>{h&&h.parentNode&&h.parentNode.removeChild(h),a.parentNode&&a.parentNode.removeChild(a)}),1e4),this.kl(t,s)}preload(t,e,i){this.Cl(e)&&(this.xl[e]||(this.xl[e]=!0,this.url(t,e,!0),this.Ol.preload&&("document"==i&&this.uu.isSafari()||t.whenFirstVisible().then((()=>{this.Nl(e)})))))}Nl(t){const e=Ys(this.wl)(Bo);e.setAttribute("href",t),this.Ol.onlyValidAs?e.as="fetch":e.as="",this.Vl.appendChild(e)}Cl(t){return!(!t.startsWith("https:")&&!t.startsWith("http:"))}kl(t,e){if(this.Ol.preconnect||!this.uu.isSafari()&&!this.uu.isIos())return;const i=Date.now();this.Sl[e]=i+qo;const s=e+"/robots.txt?_AMP_safari_preconnect_polyfill_cachebust="+(i-i%qo),n=new XMLHttpRequest;n.open("HEAD",s,!0),n.withCredentials=!0,n.send()}})}(t)}function Ko(t){if(null==t)return 0;const e=function(t){let e=t;for(;null!=(t=t.parentNode);)t.nodeName.startsWith("AMP-")&&(e=t);return e}(t),{nodeName:i}=e;return"IMG"===i||"AMP-IMG"===i?1:"VIDEO"===i||"AMP-VIDEO"===i?2:"AMP-CAROUSEL"===i?8:"AMP-BASE-CAROUSEL"===i?16:"AMP-AD"===i?4:!i.startsWith("AMP-")&&e.textContent?32:0}function Yo(t){or(t.top)||ee(t,"iframeMessagingClient",Jo.bind(null,t),!0)}function Jo(t){const e=new class{constructor(t,e){this.i=t,this.Et=nt().rtvVersion||null,this._t=e||null,this.It=null,this.Rt=1,this.kt=g(),this.Mt()}getData(t,e,i){const s=t+"-result",n=this.Rt++,r=this.registerCallback(s,(t=>{t.messageId===n&&(r(),i(t.content))})),o={};o.payload=e,o.messageId=n,this.sendMessage(t,o)}makeRequest(t,e,i){const s=this.registerCallback(e,i);return this.sendMessage(t),s}requestOnce(t,e,i){const s=this.registerCallback(e,(t=>{s(),i(t)}));return this.sendMessage(t),s}registerCallback(t,e){return this.zt(t).add(e)}sendMessage(t,e){const i=function(t,e,i={},s=null){const n=i;return n.type=t,n.sentinel=e,sr+(s||"")+JSON.stringify(n)}(t,this.It,e,this.Et);if(this._t)this.St(this._t,i);else for(let t=0,e=this.i;t<10&&e!=this.i.top;t++)e=e.parent,this.St(e,i),t++}St(t,e){this.$t(t)?this.Ct(t,e):t.postMessage(e,"*")}Ct(t,e){t.postMessage(e,{"targetOrigin":"*","includeUserActivation":!0})}Mt(){vi(this.i,"message",(t=>{if(this._t&&t.source!=this._t)return;const e=function(t){if(!function(t){return"string"==typeof t&&t.startsWith(sr)&&-1!=t.indexOf("{")}(t))return null;L(t);const e=t.indexOf("{");return C(-1!=e),$(t.substr(e),(e=>{u(new Error(`MESSAGING: Failed to parse message: ${t}\n${e.message}`))}))}(Pi(t));e&&e.sentinel==this.It&&(e.origin=t.origin,this._t||(this._t=t.source),this.Ot(e.type,e))}),void 0)}setSentinel(t){this.It=t}zt(t){return t in this.kt||(this.kt[t]=new Fi),this.kt[t]}Ot(t,e){t in this.kt&&this.kt[t].fire(e)}$t(t){return 1==t.postMessage.length}}(t),i=$(t.name);let s=null;return i&&i._context&&(s=i._context.sentinel),e.setSentinel(s||function(t){return String(t.Math.random()).substr(2)}(t)),e}function Xo(t,e,i){t.requestAnimationFrame((()=>{e.measure&&e.measure(i),e.mutate&&e.mutate(i)}))}function Qo(t){const e=new class{constructor(t){this.win=t,this.tu=new Fi,this.iu=new Fi;const e=t.innerWidth,i=t.innerHeight;this.qt=Gt(0,0,e,i),this.el=Gt(0,i+1,e,i),this.ep=function(t){return ne(t,"iframeMessagingClient")}(t),this.np=null,this.rp=B(this.win,(()=>{this.tu.fire()}),100),this.op=or(this.win.top),this.hp=this.op?function(t){return t.ampInaboxPositionObserver=t.ampInaboxPositionObserver||new class{constructor(t){this.i=t,this.Bt=null,this.Gt=function(t){const e=t.document;return e.scrollingElement?e.scrollingElement:e.body&&(i=t.navigator.userAgent,/WebKit/i.test(i)&&!/Edge/i.test(i))?e.body:e.documentElement;var i}(this.i),this.qt=null}observe(t,e){if(!this.Bt){this.Bt=new Fi;const t=B(this.i,(()=>{this.Kt(),this.Bt.fire()}),100);this.Kt(),this.i.addEventListener("scroll",t,!0),this.i.addEventListener("resize",t,!0)}return e(this.Xt(t)),this.Bt.add((()=>{e(this.Xt(t))}))}Kt(){this.qt=this.getViewportRect()}Xt(t){return{"viewportRect":this.qt,"targetRect":this.getTargetRect(t)}}getViewportRect(){const{Gt:t,i:e}=this,i=t.scrollLeft||e.pageXOffset,s=t.scrollTop||e.pageYOffset;return Gt(Math.round(i),Math.round(s),e.innerWidth,e.innerHeight)}getTargetRect(t){let e=Wt(t.getBoundingClientRect());for(let i=0,s=t.ownerDocument.defaultView;i<10&&s&&s!=this.i&&s!=this.i.top;i++,s=s.parent){const t=Wt(s.frameElement.getBoundingClientRect());e=Kt(e,t.left,t.top)}return e}}(t),t.ampInaboxPositionObserver}(this.win.top):null,this.ap=this.op?function(t){return t.ampInaboxFrameOverlayManager=t.ampInaboxFrameOverlayManager||new class{constructor(t){this.i=t,this.tn=!1,this.nn=!1,this.rn=null,this.en()}en(){this.i.addEventListener("resize",(()=>this.onWindowResize()))}onWindowResize(){this.tn&&(this.nn=!0)}expandFrame(t,e){!function(t,e,i){Xo(t,{measure(i){i.viewportSize={width:t.innerWidth,height:t.innerHeight},i.rect=Wt(e.getBoundingClientRect())},mutate(s){const{height:n,width:r}=s.viewportSize,o=Gt(0,0,r,n);var h;!function(t,e,i,s){const n=Xi(i.width/2-e.width/2-e.left),r=Xi(i.height/2-e.height/2-e.top);var o,h;Yi(t,{"position":"fixed","top":Xi(e.top),"right":Xi(i.width-(e.left+e.width)),"left":Xi(e.left),"bottom":Xi(i.height-(e.top+e.height)),"height":Xi(e.height),"width":Xi(e.width),"transition":"transform 150ms ease","transform":(o=n,h=r,null==h?`translate(${Qi(o,Xi)})`:`translate(${Qi(o,Xi)}, ${Qi(h,Xi)})`),"margin":0})}(e,s.rect,s.viewportSize),Wi(e,{"pointer-events":"none"}),h=()=>{Xo(t,{mutate(){ts(e,["pointer-events"]),function(t){Yi(t,{"position":"fixed","z-index":1e3,"left":0,"right":0,"top":0,"bottom":0,"width":"100vw","height":"100vh","transition":null,"transform":null,"margin":0,"border":0})}(e),i(s.rect,o)}})},setTimeout(h,200)}},{})}(this.i,t,((t,i)=>{this.tn=!0,this.nn=!1,this.rn=t,e(i)}))}collapseFrame(t,e){!function(t,e,i,s){Xo(t,{mutate(){!function(t){ts(t,["position","z-index","left","right","top","bottom","width","height","margin","border"])}(e),i(),Xo(t,{measure(){s(Wt(e.getBoundingClientRect()))}})}})}(this.i,t,(()=>{this.tn=!1,this.nn||e(this.rn)}),(t=>{this.rn=t,this.nn&&e(this.rn)}))}}(t),t.ampInaboxFrameOverlayManager}(this.win.top):null,this.cp=null}connect(){return this.op?this.lp():this.up()}up(){return this.ep.makeRequest(nr,rr,(t=>{this.dp(t.viewportRect,t.targetRect)})),r()}lp(){return(t=this.win.document.documentElement,he(t,"resources")).then((()=>{this.cp=this.cp||this.hp.observe(this.win.frameElement||this.getScrollingElement(),(t=>{this.dp(t.viewportRect,t.targetRect)}))}));var t}dp(t,e){const i=this.qt;this.qt=t,this.pp(e),th(this.qt,i)&&this.iu.fire(),Zo(this.qt,i)&&this.rp()}getLayoutRect(t){const e=t.getBoundingClientRect(),{left:i,top:s}=e;return Gt(Math.round(i+this.el.left),Math.round(s+this.el.top),Math.round(e.width),Math.round(e.height))}onScroll(t){this.tu.add(t)}onResize(t){this.iu.add(t)}getSize(){return{width:this.qt.width,height:this.qt.height}}getScrollTop(){return this.qt.top}getScrollLeft(){return this.qt.left}getScrollingElement(){return this.getBodyElement()}getScrollingElementScrollsLikeViewport(){return!0}supportsPositionFixed(){return!1}pp(t){if(!t)return;const e=Kt(t,this.qt.left,this.qt.top);var i,s;(Zo(i=e,s=this.el)||th(i,s))&&(this.el=e,this.mp())}getChildResources(){return Je(this.win.document.documentElement).get()}mp(){this.getChildResources().forEach((t=>t.measure()))}updateLightboxMode(t){return t?this.fp():this.gp()}getRootClientRectAsync(){return this.op?this.lp().then((()=>this.hp.getTargetRect(this.win.frameElement||this.getScrollingElement()))):(this.np||(this.np=new Promise((t=>{this.ep.requestOnce(nr,rr,(e=>{this.np=null,C(e.targetRect),t(e.targetRect)}))}))),this.np)}fp(){return this.vp().then((()=>this._p()))}gp(){return this.Ap().then((()=>this.yp()))}vp(){return function(t,e){return ii(t).runPromise({measure:e=>{e.width=t.innerWidth,e.height=t.innerHeight},mutate:t=>{Wi(e,{"background":"transparent","left":"50%","top":"50%","right":"auto","bottom":"auto","position":"absolute","height":Xi(t.height),"width":Xi(t.width),"margin-top":Xi(-t.height/2),"margin-left":Xi(-t.width/2)})}},{})}(this.win,this.getBodyElement())}yp(){return function(t,e){return ii(t).mutatePromise((()=>{ts(e,["position","left","top","right","bottom","width","height","margin-left","margin-top"])}))}(this.win,this.getBodyElement())}_p(){return new Promise(((t,e)=>{if(this.op){const i=this.win.frameElement;i?this.ap.expandFrame(i,(e=>{this.pp(e),t()})):e("Request to open lightbox failed; frame does not exist.")}else this.ep.requestOnce("full-overlay-frame","full-overlay-frame-response",(i=>{i.success?(this.pp(i.boxRect),t()):e("Request to open lightbox rejected by host document")}))}))}Ap(){return new Promise(((t,e)=>{if(this.op){const i=this.win.frameElement;i?this.ap.collapseFrame(i,(e=>{this.pp(e),t()})):e("Request to open lightbox failed; frame does not exist.")}else this.ep.requestOnce("cancel-full-overlay-frame","cancel-full-overlay-frame-response",(e=>{this.pp(e.boxRect),t()}))}))}getBodyElement(){return N(this.win.document.body)}disconnect(){this.cp&&(this.cp(),this.cp=null)}getScrollWidth(){return this.getScrollingElement().offsetWidth}getScrollHeight(){return this.getScrollingElement().offsetHeight}getContentHeight(){return this.getScrollHeight()}updatePaddingTop(){}hideViewerHeader(){}showViewerHeader(){}disableScroll(){}resetScroll(){}ensureReadyForElements(){}setScrollTop(){}contentHeightChanged(){}getBorderTop(){return 0}requiresFixedLayerTransfer(){return!1}overrideGlobalScrollTo(){return!1}}(t.win);ie(t,"viewport",(function(){return new class{constructor(t,e){const{win:i}=t;this.ampdoc=t,this.xh=e,this.au=null,this.Pu=new Fi,this.tu=new Fi,this.iu=new Fi,this.xh.onScroll(this.Ru.bind(this)),this.xh.onResize(this.bu.bind(this)),this.Vu=!1,this.ampdoc.onVisibilityChanged(this.Su.bind(this)),this.Su(),this.Pp=this.dispose.bind(this),i.addEventListener("pagehide",this.Pp);const s=i.document.documentElement;s.classList.add("i-amphtml-singledoc"),s.classList.add("i-amphtml-standalone"),$t(i)&&s.classList.add("i-amphtml-iframed")}dispose(){this.xh.disconnect(),this.ampdoc.win.removeEventListener("pagehide",this.Pp)}ensureReadyForElements(){}getPaddingTop(){return 0}getScrollTop(){return this.xh.getScrollTop()}getScrollLeft(){return this.xh.getScrollLeft()}setScrollTop(t){}updatePaddingBottom(t){}getSize(){return this.xh.getSize()}getHeight(){return this.getSize().height}getWidth(){return this.getSize().width}getScrollWidth(){return this.xh.getScrollWidth()}getScrollHeight(){return this.xh.getScrollHeight()}getContentHeight(){return this.xh.getContentHeight()}contentHeightChanged(){}getRect(){if(null==this.au){const t=this.getSize();this.au=Gt(this.getScrollLeft(),this.getScrollTop(),t.width,t.height)}return this.au}getLayoutRect(t){return this.xh.getLayoutRect(t)}getClientRectAsync(t){const e=t.getBoundingClientRect();return this.xh.getRootClientRectAsync().then((t=>t?Kt(e,t.left,t.top):Wt(e)))}supportsPositionFixed(){return!1}isDeclaredFixed(t){return!1}scrollIntoView(t){return r()}animateScrollIntoView(t,e,i,s){return r()}animateScrollWithinParent(t,e,i,s,n){return r()}getScrollingElement(){return this.xh.getScrollingElement()}onChanged(t){return this.Pu.add(t)}onScroll(t){return this.tu.add(t)}onResize(t){return this.iu.add(t)}enterLightboxMode(t,e){return this.enterOverlayMode(),this.xh.updateLightboxMode(!0)}leaveLightboxMode(t){return this.leaveOverlayMode(),this.xh.updateLightboxMode(!1)}enterOverlayMode(){this.disableTouchZoom(),this.disableScroll()}leaveOverlayMode(){this.resetScroll(),this.restoreOriginalTouchZoom()}disableScroll(){}resetScroll(){}resetTouchZoom(){}disableTouchZoom(){return!1}restoreOriginalTouchZoom(){return!1}updateFixedLayer(){return r()}addToFixedLayer(t,e){return r()}removeFromFixedLayer(t){}createFixedLayer(t){}Fu(){const t=this.getSize(),e=this.getScrollTop(),i=this.getScrollLeft();this.Pu.fire({relayoutAll:!1,top:e,left:i,width:t.width,height:t.height,velocity:0})}Ru(){this.au=null,this.xh.getScrollTop()<0||(this.Fu(),this.tu.fire())}bu(){this.au=null;const t=this.getSize();this.Fu(),this.iu.fire({relayoutAll:!1,width:t.width,height:t.height})}Su(){const t=this.ampdoc.isVisible();t!=this.Vu&&(this.Vu=t,t?(this.xh.connect(),this.bu()):this.xh.disconnect())}}(t,e)}),!0)}function Zo(t,e){return t.left!=e.left||t.top!=e.top}function th(t,e){return t.width!=e.width||t.height!=e.height}function eh(t){Yo(t.win),function(t){ie(t,"url",class{constructor(t){const e=t.getRootNode(),i=e.ownerDocument||e;this.Dl=i.createElement("a"),this.Ll=null}parse(t,e){return mn(this.Dl,t)}Ul(t){return"string"!=typeof t?t:this.parse(t)}isProtocolValid(t){return In(t)}getSourceOrigin(t){return Sn(this.Ul(t))}getSourceUrl(t){return Tn(this.Ul(t))}resolveRelativeUrl(t,e){return Mn(t,this.Ul(e))}assertHttpsUrl(t,e,i="source"){return yn(t,e,i)}assertAbsoluteHttpOrHttpsUrl(t){return function(t){return yt(/^https?\:/i.test(t),'URL must start with "http://" or "https://". Invalid value: %s',t),pn(t).href}(t)}isProxyOrigin(t){return bn(this.Ul(t))}isSecure(t){return An(this.Ul(t))}getWinOrigin(t){return t.origin||this.Ul(t.location.href).origin}getCdnUrlOnOrigin(t){if(bn(t))return t;const{hash:e,host:i,pathname:s,search:n}=this.Ul(t),r=encodeURIComponent(i);return`${et.cdn}/c/${r}${s}${n}${e}`}},!0)}(t),function(t){ie(t,"templates",class{constructor(t){this.es=t,this.$l={},this.Fl={}}whenReady(t){return this.Bl(t).then(Oo)}setHtmlForTemplate(t,e){return this.Bl(t).then((t=>this.Hl(t,e)))}renderTemplate(t,e){return this.Bl(t).then((t=>this.jl(t,e)))}renderTemplateAsString(t,e){return this.Bl(t).then((t=>t.renderAsString(e)))}renderTemplateArray(t,e){return 0==e.length?Promise.resolve([]):this.Bl(t).then((t=>e.map((e=>this.jl(t,e)))))}findAndRenderTemplate(t,e,i){return this.renderTemplate(this.findTemplate(t,i),e)}findAndSetHtmlForTemplate(t,e,i){return this.setHtmlForTemplate(this.findTemplate(t,i),e)}findAndRenderTemplateArray(t,e,i){return this.renderTemplateArray(this.findTemplate(t,i),e)}hasTemplate(t,e){return!!this.maybeFindTemplate(t,e)}findTemplate(t,e){const i=this.maybeFindTemplate(t,e);yt(i,"Template not found for %s",t);const s=i.tagName;return yt("TEMPLATE"==s||"SCRIPT"==s&&"text/plain"===i.getAttribute("type"),'Template must be defined in a <template> or <script type="text/plain"> tag'),i}maybeFindTemplate(t,e){const i=t.getAttribute("template");return i?Lt(t).getElementById(i):e?Et(t,e):t.querySelector('template[type], script[type="text/plain"]')}Bl(t){const e=t[Vo];if(e)return Promise.resolve(e);let i="";const{tagName:s}=t;"TEMPLATE"==s?i=t.getAttribute("type"):"SCRIPT"==s&&(i=t.getAttribute("template")),yt(i,"Type must be specified: %s",t);let n=t.__AMP_WAIT_;return n||(n=this.zl(t,i).then((e=>{const i=e,s=t[Vo]=new i(t,this.es.win);return delete t.__AMP_WAIT_,s})),t.__AMP_WAIT_=n,n)}zl(t,e){if(this.$l[e])return this.$l[e];const i=new o,{promise:s,resolve:n}=i;return this.$l[e]=s,this.Fl[e]=n,s}Gl(t,e){if(this.$l[t]){const i=this.Fl[t];yt(i,"Duplicate template type: %s",t),delete this.Fl[t],i(e)}else this.$l[t]=Promise.resolve(e)}jl(t,e){return t.render(e)}Hl(t,e){return t.setHtml(e)}})}(t),ie(t,"documentInfo",class{constructor(t){this.es=t,this.ql=null,this.Wl=null}get(){if(this.ql)return this.ql;const t=this.es,e=Tn(t.getUrl()),i=t.getRootNode();let s=i&&i.AMP&&i.AMP.canonicalUrl;if(!s){const t=i.querySelector("link[rel=canonical]");s=t?pn(t.href).href:e}const n=function(t){return String(Math.floor(1e4*t.Math.random()))}(t.win),r=function(t){const e=g();if(t.head){const i=t.head.querySelectorAll("link[rel]");for(let t=0;t<i.length;t++){const s=i[t],{href:n}=s,r=s.getAttribute("rel");r&&n&&r.split(/\s+/).forEach((t=>{if(-1!=co.indexOf(t))return;let i=e[t];i?(b(i)||(i=e[t]=[i]),i.push(n)):e[t]=n}))}}return e}(t.win.document),o=function(t){const e=t.head.querySelector('meta[name="viewport"]');return e?e.getAttribute("content"):null}(t.win.document),a=function(t){if(!t.isSingleDoc()||"a"!=(e=t.win.location.href,bn(e=dn(e))?e.pathname.split("/",2)[1]:null))return null;var e;const i=Y(pn(t.win.location.href).search).amp_r;return void 0===i?null:Y(i)}(t);return this.ql={get sourceUrl(){return Tn(t.getUrl())},canonicalUrl:s,pageViewId:n,get pageViewId64(){return this.Wl||(this.Wl=function(t){const e=function(t){return H(t,16)||String(t.location.href+Date.now()+t.Math.random()+t.screen.width+t.screen.height)}(t);if("string"==typeof e)return(i=t,se(i,"crypto")).sha384Base64(e);var i;{const t=e;return h((()=>ho(t).replace(/\.+$/,"")))}}(t.win)),this.Wl},linkRels:r,viewport:o,replaceParams:a}}}),function(t){ie(t,"cid",class{get(){return Promise.resolve(null)}optOut(){}})}(t),function(t){ie(t,"viewer",class{constructor(t){this.es=t}getAmpDoc(){return this.es}getParam(t){return this.es.getParam(t)}hasCapability(){return!1}isEmbedded(){return!1}isWebviewEmbedded(){return!1}isCctEmbedded(){return!1}isProxyOrigin(){return!1}maybeUpdateFragmentForCct(){}isRuntimeOn(){return!0}toggleRuntime(){}onRuntimeState(){return()=>{}}isOvertakeHistory(){return!1}getResolvedViewerUrl(){return this.es.win.location.href}maybeGetMessagingOrigin(){return null}getUnconfirmedReferrerUrl(){return this.es.win.document.referrer}getReferrerUrl(){return Promise.resolve(this.getUnconfirmedReferrerUrl())}isTrustedViewer(){return Promise.resolve(!1)}getViewerOrigin(){return Promise.resolve("")}onMessage(){return()=>{}}onMessageRespond(){return()=>{}}receiveMessage(){}setMessageDeliverer(){}maybeGetMessageDeliverer(){return null}sendMessage(){}sendMessageAwaitResponse(){return r()}broadcast(){return Promise.resolve(!1)}onBroadcast(){return()=>{}}whenMessagingReady(){return null}replaceUrl(){}},!0)}(t),Qo(t),function(t){ie(t,"hidden-observer",class{constructor(t){this.Bc=t.getRootNode();const e=this.Bc.ownerDocument||this.Bc;this.i=At(e.defaultView),this.Hc=null,this.jc=null}add(t){this.zc();const e=this.jc.add(t);return()=>{e(),0===this.jc.getHandlerCount()&&this.dispose()}}zc(){if(this.Hc)return;this.jc=new Fi;const t=new this.i.MutationObserver((t=>{t&&this.jc.fire(t)}));this.Hc=t,t.observe(this.Bc,lo)}dispose(){this.Hc&&(this.Hc.disconnect(),this.jc.removeAll(),this.Hc=null,this.jc=null)}})}(t),function(t){ie(t,"history",fo)}(t),function(t){ie(t,"resources",class{constructor(t){this.es=t,this.win=t.win,this.ki=[],this.qc=0,this.qr=new jr(this.win,this.bp.bind(this),70),this.Ip=new Fi,this.ga=new o,this.wp=null,(t=>se(t,"input"))(this.win).setupInputModeClasses(t),"inabox"!=nt(this.win).runtime&&t.onVisibilityChanged((()=>{switch(t.getVisibilityState()){case Ui:this.ki.forEach((t=>t.pause()));break;case Di:this.ki.forEach((t=>t.resume())),this.schedulePass()}})),this.la=[],this.Jc=!1,this.es.whenReady().then((()=>{this.Jc=!0,this.Ma(),this.schedulePass(1)}))}dispose(){this.ki.forEach((t=>t.unload())),this.ki.length=0,this.wp&&(this.wp.disconnect(),this.wp=null)}get(){return this.ki.slice(0)}getAmpdoc(){return this.es}getResourceForElement(t){return Un.forElement(t)}getResourceForElementOptional(t){return Un.forElementOptional(t)}getScrollDirection(){return 1}add(t){const e=new Un(++this.qc,t,this);this.ki.push(e)}upgraded(t){const e=Un.forElement(t);this.la.push(e),this.Ma()}remove(t){const e=Un.forElementOptional(t);if(!e)return;this.wp&&this.wp.unobserve(t);const i=this.ki.indexOf(e);-1!==i&&this.ki.splice(i,1)}scheduleLayoutOrPreload(t){this.qr.schedule()}schedulePass(t){return this.qr.schedule(t)}updateOrEnqueueMutateTask(t,e){}schedulePassVsync(){}onNextPass(t){this.Ip.add(t)}ampInitComplete(){}updateLayoutPriority(t,e){}setRelayoutTop(t){}maybeHeightChanged(){}whenFirstPass(){return this.ga.promise}bp(){const t=Date.now();this.ki.forEach((t=>{t.isLayoutPending()&&!t.element.R1()&&t.measure()})),this.ki.forEach((e=>{!e.element.R1()&&2===e.getState()&&e.isDisplayed()&&(e.layoutScheduled(t),e.startLayout())})),this.es.signals().signal(Ri),this.Ip.fire(),this.ga.resolve()}Ma(){for(let t=this.la.length-1;t>=0;t--){const e=this.la[t];(this.Jc||Dt(e.element,this.es.getRootNode()))&&(this.la.splice(t,1),e.build().then((()=>this.schedulePass())))}}})}(t),function(t){ie(t,"owners",class{constructor(t){this.ki=Je(t)}setOwner(t,e){Un.setOwner(t,e)}schedulePreload(t,e){this.Wa(this.ki.getResourceForElement(t),!1,Mo(e))}scheduleLayout(t,e){this.Wa(this.ki.getResourceForElement(t),!0,Mo(e))}schedulePause(t,e){const i=this.ki.getResourceForElement(t);e=Mo(e),this.Ka(i,e,(t=>{t.pause()}))}scheduleResume(t,e){const i=this.ki.getResourceForElement(t);e=Mo(e),this.Ka(i,e,(t=>{t.resume()}))}scheduleUnlayout(t,e){const i=this.ki.getResourceForElement(t);e=Mo(e),this.Ka(i,e,(t=>{t.unlayout()}))}requireLayout(t,e){const i=[];return this.Ya(t,(t=>{i.push(t.element.ensureLoaded())})),Promise.all(i)}Ka(t,e,i){for(var s,r=n(e,!0);!(s=r()).done;){const e=s.value;At(t.element.contains(e)),this.Ya(e,i)}}Ya(t,e){if(t.classList.contains("i-amphtml-element")){e(this.ki.getResourceForElement(t));const i=t.getPlaceholder();i&&this.Ya(i,e)}else{const i=t.getElementsByClassName("i-amphtml-element"),s=[];for(let t=0;t<i.length;t++){const n=i[t];let r=!1;for(let t=0;t<s.length;t++)if(s[t].contains(n)){r=!0;break}r||(s.push(n),e(this.ki.getResourceForElement(n)))}}}Wa(t,e,i){this.Ka(t,i,(e=>{e.element.ensureLoaded(t.getLayoutPriority())}))}})}(t),function(t){ie(t,"mutator",class{constructor(t){this.ki=Je(t),this.zo=ii(t.win)}forceChangeSize(t,e,i,s,n){this.requestChangeSize(t,e,i,n).then((()=>{s&&s()}))}requestChangeSize(t,e,i,s){return this.mutateElement(t,(()=>{this.ki.getResourceForElement(t).changeSize(e,i,s)}))}expandElement(t){this.ki.getResourceForElement(t).completeExpand(),this.ki.schedulePass()}attemptCollapse(t){return this.mutateElement(t,(()=>{this.ki.getResourceForElement(t).completeCollapse()}))}collapseElement(t){this.ki.getResourceForElement(t).completeCollapse(),this.ki.schedulePass()}measureElement(t){return this.zo.measurePromise(t)}mutateElement(t,e){return this.measureMutateElement(t,null,e)}measureMutateElement(t,e,i){return this.zo.runPromise({measure:()=>{e&&e()},mutate:()=>{i(),this.ki.schedulePass()}})}})}(t),function(t){ie(t,"url-replace",(function(t){return new class{constructor(t,e){this.ampdoc=t,this.Mo=e}expandStringSync(t,e,i){return new Lo(this.Mo,e,void 0,!0,i,!0).expand(t)}expandStringAsync(t,e,i){return new Lo(this.Mo,e,void 0,void 0,i,!0).expand(t)}expandUrlSync(t,e,i){return this.sd(t,new Lo(this.Mo,e,void 0,!0,i).expand(t))}expandUrlAsync(t,e,i,s){return new Lo(this.Mo,e,void 0,void 0,i,s).expand(t).then((e=>this.sd(t,e)))}expandInputValueAsync(t){return this.ed(t,!1)}expandInputValueSync(t){return this.ed(t,!0)}ed(t,e){At("INPUT"==t.tagName&&"hidden"==(t.getAttribute("type")||"").toLowerCase());const i=this.nd(t);if(!i)return e?t.value:Promise.resolve(t.value);void 0===t["amp-original-value"]&&(t["amp-original-value"]=t.value);const s=new Lo(this.Mo,void 0,void 0,e,i).expand(t["amp-original-value"]||t.value);return e?t.value=s:s.then((e=>(t.value=e,e)))}nd(t,e){const i=t.getAttribute("data-amp-replace");if(!i)return;const s={};return i.trim().split(/\s+/).forEach((t=>{e&&!v(e,t)||(s[t]=!0)})),s}fe(t){const e=He(this.ampdoc);if(t.origin==pn(e.canonicalUrl).origin||t.origin==pn(e.sourceUrl).origin)return!0;const i=this.ampdoc.getMetaByName("amp-link-variable-allowed-origin");if(i){const e=i.trim().split(/\s+/);for(let i=0;i<e.length;i++)if(t.origin==pn(e[i]).origin)return!0}return!1}maybeExpandLink(t,e){At("A"==t.tagName);const i=t;let s=i.getAttribute("data-amp-addparams")||"";const n=this.nd(i,{"CLIENT_ID":!0,"QUERY_PARAM":!0,"PAGE_VIEW_ID":!0,"PAGE_VIEW_ID_64":!0,"NAV_TIMING":!0});if(!n&&!s&&!e)return;let r=i["amp-original-href"]||i.getAttribute("href");const o=pn(r);null==i["amp-original-href"]&&(i["amp-original-href"]=r);const h=this.fe(o);if(s&&(s=h?this.rd(s,n):s,r=vn(r,Y(s))),!h)return i.href=r;if(e){if(!n||!n.QUERY_PARAM){const t={"QUERY_PARAM":!0};e=this.expandUrlSync(e,void 0,t)}r=vn(r,Y(e))}return r=this.rd(r,n),i.href=r}rd(t,e){return e?this.expandUrlSync(t,void 0,e):t}collectVars(t,e){const i=Object.create(null);return new Lo(this.Mo,e,i).expand(t).then((()=>i))}collectDisallowedVarsSync(t){const e=t.getAttribute("src"),i=new Lo(this.Mo).getMacroNames(e),s=this.nd(t);return s?i.filter((t=>!s[t])):i}sd(t,e){return pn(e).protocol!=pn(t).protocol?(gt().error(Do,"Illegal replacement of the protocol: ",t),t):(yt(In(e),"The replacement url has invalid protocol: %s",e),e)}getVariableSource(){return this.Mo}}(t,new class extends class{constructor(t){this.ampdoc=t,this.hd=Object.create(null),this.od=!1,this.ud()}Sr(){this.initialize(),this.od=!0}initialize(){}get(t){return this.od||this.Sr(),this.hd[t]}set(t,e){return At(-1==t.indexOf("RETURN")),this.hd[t]=this.hd[t]||{sync:void 0,async:void 0},this.hd[t].sync=e,this}setAsync(t,e){return At(-1==t.indexOf("RETURN")),this.hd[t]=this.hd[t]||{sync:void 0,async:void 0},this.hd[t].async=e,this}setBoth(t,e,i){return this.set(t,e).setAsync(t,i)}getExpr(t,e){this.od||this.Sr();const i=y(y({},this.hd),t);return this.ld(Object.keys(i),e)}ld(t,e){if(this.ud()&&(t=t.filter((t=>this.ud().includes(t)))),e&&(t=t.filter((t=>e[t]))),0===t.length)return/_^/g;t.sort(((t,e)=>e.length-t.length));const i=t.map((t=>"$"===t[0]?"\\"+t:t)).join("|");return new RegExp("\\$?("+i+")","g")}ud(){return this.ad?this.ad:this.ampdoc.isSingleDoc()&&ni(this.ampdoc.getRootNode())?(this.ad=[""],this.ad):void 0}}{constructor(t){super(t),this.dd=null}fd(t,e,i){return this.setBoth(t,(()=>Si(this.ampdoc.win,e,i)),(()=>Ti(this.ampdoc.win,e,i)))}initialize(){const{win:t}=this.ampdoc,e=this.ampdoc.getHeadNode(),i=si(this.ampdoc);Ze(this.ampdoc).then((t=>{this.dd=t})),this.set("RANDOM",(()=>Math.random()));const s=Object.create(null);this.set("COUNTER",(t=>s[t]=1+(0|s[t]))),this.set("CANONICAL_URL",(()=>this.pd().canonicalUrl)),this.set("CANONICAL_HOST",(()=>pn(this.pd().canonicalUrl).host)),this.set("CANONICAL_HOSTNAME",(()=>pn(this.pd().canonicalUrl).hostname)),this.set("CANONICAL_PATH",(()=>pn(this.pd().canonicalUrl).pathname)),this.setAsync("DOCUMENT_REFERRER",(()=>ei(this.ampdoc).getReferrerUrl())),this.setAsync("EXTERNAL_REFERRER",(()=>ei(this.ampdoc).getReferrerUrl().then((e=>e?pn(Tn(e)).hostname===os.getHostname(t)?null:e:null)))),this.set("TITLE",(()=>{const e=t.document;return e.originalTitle||e.title})),this.set("AMPDOC_URL",(()=>Pn(this.md(t.location.href)))),this.set("AMPDOC_HOST",(()=>{const e=pn(t.location.href);return e&&e.host})),this.set("AMPDOC_HOSTNAME",(()=>{const e=pn(t.location.href);return e&&e.hostname}));const n=()=>{const t=this.pd();return Pn(this.md(t.sourceUrl))};this.setBoth("SOURCE_URL",(()=>n()),(()=>_o().then((()=>n())))),this.set("SOURCE_HOST",(()=>pn(this.pd().sourceUrl).host)),this.set("SOURCE_HOSTNAME",(()=>pn(this.pd().sourceUrl).hostname)),this.set("SOURCE_PATH",(()=>pn(this.pd().sourceUrl).pathname)),this.set("PAGE_VIEW_ID",(()=>this.pd().pageViewId)),this.setAsync("PAGE_VIEW_ID_64",(()=>this.pd().pageViewId64)),this.setBoth("QUERY_PARAM",((t,e="")=>this._d(t,e)),((t,e="")=>_o().then((()=>this._d(t,e))))),this.set("FRAGMENT_PARAM",((t,e="")=>this.Ad(t,e)));let o=null;this.setBoth("CLIENT_ID",(t=>o?o[t]:null),((t,i,s,n)=>{yt(t,"The first argument to CLIENT_ID, the fallback Cookie name, is required");let h=r();return i&&(h=(t=>Ve(t,"userNotificationManager","amp-user-notification"))(e).then((t=>t.get(i)))),Fe(this.ampdoc).then((e=>(n="true"==n,e.get({scope:t,createCookieIfNotPresent:!0,cookieName:s||void 0,disableBackup:n},h)))).then((e=>(o||(o=Object.create(null)),e&&"_ga"==(s||t)&&("string"==typeof e?e=e.replace(/^(GA1|1)\.[\d-]+\./,""):_t().error(Do,"non-string cid, what is it?",Object.keys(e))),o[t]=e,e)))})),this.setAsync("VARIANT",(t=>this.gd((e=>{const i=e[t];return yt(void 0!==i,"The value passed to VARIANT() is not a valid experiment in <amp-experiment>:"+t),null===i?"none":i}),"VARIANT"))),this.setAsync("VARIANTS",(()=>this.gd((t=>{const e=[];for(const i in t){const s=t[i];e.push(i+"."+(s||"none"))}return e.join("!")}),"VARIANTS"))),this.setBoth("AMP_GEO",(t=>$o(this.dd,t)),(t=>this.Pd((e=>$o(e,t)),"AMP_GEO"))),this.set("TIMESTAMP",zo("getTime")),this.set("TIMESTAMP_ISO",zo("toISOString")),this.set("TIMEZONE",zo("getTimezoneOffset")),this.set("SCROLL_HEIGHT",(()=>i.getScrollHeight())),this.set("SCROLL_WIDTH",(()=>i.getScrollWidth())),this.set("VIEWPORT_HEIGHT",(()=>i.getHeight())),this.set("VIEWPORT_WIDTH",(()=>i.getWidth()));const{screen:h}=t;this.set("SCREEN_WIDTH",Uo(h,"width")),this.set("SCREEN_HEIGHT",Uo(h,"height")),this.set("AVAILABLE_SCREEN_HEIGHT",Uo(h,"availHeight")),this.set("AVAILABLE_SCREEN_WIDTH",Uo(h,"availWidth")),this.set("SCREEN_COLOR_DEPTH",Uo(h,"colorDepth")),this.set("DOCUMENT_CHARSET",(()=>{const e=t.document;return e.characterSet||e.charset})),this.set("BROWSER_LANGUAGE",(()=>{const e=t.navigator;return(e.language||e.userLanguage||e.browserLanguage||"").toLowerCase()})),this.set("USER_AGENT",(()=>t.navigator.userAgent)),this.setAsync("UACH",(e=>{var i,s,n;return(null===(i=t.navigator)||void 0===i||null===(s=i.userAgentData)||void 0===s||null===(n=s.getHighEntropyValues([e]))||void 0===n?void 0:n.then((t=>"object"!=typeof t[e]?t[e]:JSON.stringify(t[e]))))||Promise.resolve("")})),this.fd("PAGE_LOAD_TIME","navigationStart","loadEventStart"),this.fd("DOMAIN_LOOKUP_TIME","domainLookupStart","domainLookupEnd"),this.fd("TCP_CONNECT_TIME","connectStart","connectEnd"),this.fd("SERVER_RESPONSE_TIME","requestStart","responseStart"),this.fd("PAGE_DOWNLOAD_TIME","responseStart","responseEnd"),this.fd("REDIRECT_TIME","navigationStart","fetchStart"),this.fd("DOM_INTERACTIVE_TIME","navigationStart","domInteractive"),this.fd("CONTENT_LOAD_TIME","navigationStart","domContentLoadedEventStart"),this.setAsync("ACCESS_READER_ID",(()=>this.vd((t=>t.getAccessReaderId()),"ACCESS_READER_ID"))),this.setAsync("AUTHDATA",(t=>(yt(t,"The first argument to AUTHDATA, the field, is required"),this.vd((e=>e.getAuthdataField(t)),"AUTHDATA")))),this.setAsync("VIEWER",(()=>ei(this.ampdoc).getViewerOrigin().then((t=>null==t?"":t)))),this.setAsync("TOTAL_ENGAGED_TIME",(()=>De(e).then((t=>t.getTotalEngagedTime())))),this.setAsync("INCREMENTAL_ENGAGED_TIME",((t,i)=>De(e).then((e=>e.getIncrementalEngagedTime(t,"false"!==i))))),this.set("NAV_TIMING",((e,i)=>(yt(e,"The first argument to NAV_TIMING, the start attribute name, is required"),Si(t,e,i)))),this.setAsync("NAV_TIMING",((e,i)=>(yt(e,"The first argument to NAV_TIMING, the start attribute name, is required"),Ti(t,e,i)))),this.set("NAV_TYPE",(()=>Mi(t,"type"))),this.set("NAV_REDIRECT_COUNT",(()=>Mi(t,"redirectCount"))),this.set("AMP_VERSION",(()=>"2202072236000")),this.set("BACKGROUND_STATE",(()=>this.ampdoc.isVisible()?"0":"1")),this.setAsync("VIDEO_STATE",((t,e)=>{return(i=this.ampdoc,re(i,"video-manager")).getVideoStateProperty(t,e);var i})),this.setAsync("AMP_STATE",(t=>{const e=this.ampdoc.getRootNode(),i=e.documentElement||e;return $e(i).then((e=>e&&e.getStateValue(t)||""))}))}md(t){const{replaceParams:e}=this.pd();return e?function(t,e){const i=Y(pn(t).search),s={},n=Object.keys(e);for(let t=0;t<n.length;t++)v(i,n[t])||(s[n[t]]=e[n[t]]);return vn(t,s)}(wn(t),e):t}pd(){return He(this.ampdoc)}vd(t,e){const i=this.ampdoc.getHeadNode();return Promise.all([Ce(i),Ne(i)]).then((i=>{const s=i[0],n=i[1],r=s||n;return r?s&&n?t(n)||t(s):t(r):(gt().error(Do,"Access or subsciptions service is not installed to access: ",e),null)}))}_d(t,e){yt(t,"The first argument to QUERY_PARAM, the query string param is required");const i=Y(pn(wn(this.ampdoc.win.location.href)).search),{replaceParams:s}=this.pd();return void 0!==i[t]?i[t]:s&&void 0!==s[t]?s[t]:e}Ad(t,e){yt(t,"The first argument to FRAGMENT_PARAM, the fragment string param is required"),yt("string"==typeof t,"param should be a string");const i=J(this.ampdoc.win);return void 0===i[t]?e:i[t]}gd(t,e){return(i=this.ampdoc.getHeadNode(),Oe(i,"variant","amp-experiment",!0)).then((t=>(yt(t,"To use variable %s, amp-experiment should be configured",e),t.getVariants()))).then((e=>t(e)));var i}Pd(t,e){return null!==this.dd?t(this.dd):Ze(this.ampdoc.getHeadNode()).then((i=>(yt(i,"To use variable %s, amp-geo should be configured",e),this.dd=i,t(i))))}}(t))}))}(t),function(t){ie(t,"action",class{constructor(t,e){this.ampdoc=t,this.Bc=e||t.getRootNode(),this.Ed=this.ampdoc.isSingleDoc()&&ni(this.Bc),this.So=this.Ed?Dr:null,this.Td=g(),this.Id=g(),this.addEvent("tap"),this.addEvent("submit"),this.addEvent("change"),this.addEvent("input-debounced"),this.addEvent("input-throttled"),this.addEvent("valid"),this.addEvent("invalid")}addEvent(t){if("tap"==t)this.Bc.addEventListener("click",(e=>{if(!e.defaultPrevented){const i=e.target;this.trigger(i,t,e,3)}})),this.Bc.addEventListener("keydown",(e=>{const{key:i,target:s}=e,n=s;if("Enter"==i||" "==i){const i=n.getAttribute("role"),s=i&&v(zr,i.toLowerCase());!e.defaultPrevented&&s&&this.trigger(n,t,e,3)&&e.preventDefault()}}));else if("submit"==t)this.Bc.addEventListener(t,(e=>{const i=e.target;this.trigger(i,t,e,3)}));else if("change"==t)this.Bc.addEventListener(t,(e=>{const i=e.target;this.yd(e),this.trigger(i,t,e,3)}));else if("input-debounced"==t){const e=q(this.ampdoc.win,(e=>{const i=e.target;this.trigger(i,t,e,3)}),300);this.Bc.addEventListener("input",(t=>{const i=new Fr(t);this.yd(i),e(i)}))}else if("input-throttled"==t){const e=B(this.ampdoc.win,(e=>{const i=e.target;this.trigger(i,t,e,3)}),100);this.Bc.addEventListener("input",(t=>{const i=new Fr(t);this.yd(i),e(i)}))}else"valid"!=t&&"invalid"!=t||this.Bc.addEventListener(t,(e=>{const i=e.target;this.trigger(i,t,e,3)}))}addGlobalTarget(t,e){this.Td[t]=e}addGlobalMethodHandler(t,e,i=2){this.Id[t]={handler:e,minTrust:i}}trigger(t,e,i,s,n){return this.Md(t,e,i,s,n)}execute(t,e,i,s,n,r,o){const h=new Ur(t,e,i,s,n,r,o);this.Rd(h)}installActionHandler(t,e){if(At($r(t.getAttribute("id")||"")||t.tagName.toLowerCase()in Lr),t[Nr])return void _t().error(Vr,`Action handler already installed for ${t}`);t[Nr]=e;const i=t[Cr];b(i)&&Xe(Pt(t)).delay((()=>{i.forEach((t=>{try{e(t)}catch(e){_t().error(Vr,"Action execution failed:",t,e)}})),t[Cr].length=0}),1)}hasAction(t,e,i){return!!this.bd(t,e,i)}hasResolvableAction(t,e,i){const s=this.bd(t,e,i);return!!s&&s.actionInfos.some((t=>{const{target:e}=t;return!!this.wd(e)}))}hasResolvableActionForTarget(t,e,i,s){const n=this.bd(t,e,s);return!!n&&n.actionInfos.some((t=>{const{target:e}=t;return this.wd(e)==i}))}wd(t){return this.Td[t]?this.Bc:this.Bc.getElementById(t)}setAllowlist(t){At(t.every((t=>t.tagOrTarget&&t.method))),this.So=t}addToAllowlist(t,e,i){i&&i.includes("email")!==this.Ed||(this.So||(this.So=[]),b(e)||(e=[e]),e.forEach((e=>{this.So.some((i=>i.tagOrTarget==t&&i.method==e))||this.So.push({tagOrTarget:t,method:e})})))}Md(t,e,i,s,r){const o=this.bd(t,e);if(!o)return!1;const h=Math.random();let a=null;return o.actionInfos.forEach((c=>{const{args:l,method:u,str:d,target:p}=c,m=function(t,e,i){if(!t)return t;const s=i||{};if(e){const t=function(t){return t.detail}(e);t&&(s.event=t)}const r=g();return Object.keys(t).forEach((e=>{let i=t[e];if("object"==typeof i&&i.expression){const t=i.expression,e=function(t,e){if("."==e)return t;let i=t;for(var s,r=n(e.split("."),!0);!(s=r()).done;){const t=s.value;if(!(t&&i&&void 0!==i[t]&&"object"==typeof i&&v(i,t))){i=void 0;break}i=i[t]}return i}(s,t);i=void 0===e?null:e}s[i]?r[e]=s[i]:r[e]=i})),r}(l,i,r),f=()=>{const n=this.wd(p);if(!n)return void this.Vd(`Target "${p}" not found for action [${d}].`);const r=new Ur(n,u,m,t,o.node,i,s,e,n.tagName||p,h);return this.Rd(r)};a=a?a.then(f):f()})),o.actionInfos.length>=1}Vd(t,e){if(e){const i=gt().createError(`[Action] ${t}`);throw Cn(i,e),i}gt().error(Vr,t)}Rd(t){const{method:e,tagOrTarget:i}=t;if(this.So&&!function(t,e){let{method:i}=t;const{node:s,tagOrTarget:n}=t;i===Zn&&"function"==typeof s.getDefaultActionAlias&&(i=s.getDefaultActionAlias());const r=i.toLowerCase(),o=n.toLowerCase();return e.some((t=>(t.tagOrTarget.toLowerCase()===o||"*"===t.tagOrTarget)&&t.method.toLowerCase()===r))}(t,this.So))return this.Vd(`"${i}.${e}" is not allowlisted ${JSON.stringify(this.So)}.`),null;const s=this.Td[i];if(s)return s(t);const n=t.node,r=this.Id[e];if(r&&t.satisfiesTrust(r.minTrust))return r.handler(t);const o=n.tagName.toLowerCase();if($r(o))return n.enqueAction?n.enqueAction(t):this.Vd(`Unrecognized AMP element "${o}".`,n),null;const h=Lr[o];if($r(n.getAttribute("id")||"")||h&&h.indexOf(e)>-1){const e=n[Nr];return e?e(t):(n[Cr]=n[Cr]||[],n[Cr].push(t)),null}return this.Vd(`Target (${i}) doesn't support "${e}" action.`,t.caller),null}bd(t,e,i){let s=t;for(;s;){if(i&&s==i)return null;const t=this.Sd(s,e);if(t&&!(n=s).disabled&&!Tt(n,":disabled"))return{node:s,actionInfos:At(t)};s=s.parentElement}var n;return null}Sd(t,e){const i=this.xd(t,e);return i&&i[e]||null}xd(t,e){let i=t[Or];return void 0===i&&(i=null,t.hasAttribute("on")?(i=Br(t.getAttribute("on"),t),t[Or]=i):t.hasAttribute("execute")&&(i=Br(`${e}:${t.getAttribute("execute")}`,t),t[Or]=i)),i}setActions(t,e){t.setAttribute("on",e),delete t[Or]}yd(t){const e=g(),{target:i}=t;if(void 0!==i.value&&(e.value=i.value),"INPUT"==i.tagName&&(e.valueAsNumber=Number(i.value)),void 0!==i.checked&&(e.checked=i.checked),void 0===i.min&&void 0===i.max||(e.min=i.min,e.max=i.max),i.files&&(e.files=P(i.files).map((t=>({"name":t.name,"size":t.size,"type":t.type})))),Object.keys(e).length>0)try{t.detail=e}catch(t){}}},!0)}(t),function(t){ie(t,"standard-actions",class{constructor(t){this.ampdoc=t;const e=t.getHeadNode();this.Od=Ge(t),this.aa=si(t),this.Cd(Le(e)),this.kd()}Cd(t){t.addGlobalTarget("AMP",this.Nd.bind(this)),t.addGlobalMethodHandler("hide",this.Dd.bind(this)),t.addGlobalMethodHandler("show",this.Ld.bind(this)),t.addGlobalMethodHandler("toggleVisibility",this.Ud.bind(this)),t.addGlobalMethodHandler("scrollTo",this.$d.bind(this)),t.addGlobalMethodHandler("focus",this.Fd.bind(this)),t.addGlobalMethodHandler("toggleClass",this.Bd.bind(this)),t.addGlobalMethodHandler("toggleChecked",this.Hd.bind(this))}kd(){this.jd()&&this.ampdoc.waitForBodyOpen().then((t=>{const e=t.getAttribute("data-prefers-dark-mode-class")||"amp-dark-mode";t.classList.add(e)}))}jd(){var t,e;try{const t=this.ampdoc.win.localStorage.getItem("amp-dark-mode");if(t)return"yes"===t}catch(t){}return null===(t=(e=this.ampdoc.win).matchMedia)||void 0===t?void 0:t.call(e,"(prefers-color-scheme: dark)").matches}Nd(t){if(!t.satisfiesTrust(2))return null;const{args:e,method:i,node:s}=t,n=Pt(s);switch(i){case"pushState":case"setState":const i=s.nodeType===Node.DOCUMENT_NODE?s.documentElement:s;return $e(i).then((e=>(yt(e,"AMP-BIND is not installed."),e.invoke(t))));case"navigateTo":return this.zd(t);case"closeOrNavigateTo":return this.Gd(t);case"scrollTo":return yt(e.id,"AMP.scrollTo must provide element ID"),t.node=ue(s).getElementById(e.id),this.$d(t);case"goBack":return qe(this.ampdoc).goBack(!(!e||!0!==e.navigate)),null;case"print":return n.print(),null;case"optoutOfCid":return Fe(this.ampdoc).then((t=>t.optOut())).catch((t=>{_t().error(ko,"Failed to opt out of CID",t)}));case"toggleTheme":return this.qd(),null}throw gt().createError("Unknown AMP action ",i)}zd(t){const{args:e,caller:i,method:s,node:n}=t,o=Pt(n);let h=r();return i.tagName.startsWith("AMP-")&&(h=i.getImpl().then((t=>{"function"==typeof t.throwIfCannotNavigate&&t.throwIfCannotNavigate()}))),h.then((()=>{var t;(t=this.ampdoc,re(t,"navigation")).navigateTo(o,e.url,`AMP.${s}`,{target:e.target,opener:e.opener})}),(t=>{gt().error(ko,t)}))}qd(){this.ampdoc.waitForBodyOpen().then((t=>{try{const e=t.getAttribute("data-prefers-dark-mode-class")||"amp-dark-mode";this.jd()?(t.classList.remove(e),this.ampdoc.win.localStorage.setItem("amp-dark-mode","no")):(t.classList.add(e),this.ampdoc.win.localStorage.setItem("amp-dark-mode","yes"))}catch(t){}}))}Gd(t){const{node:e}=t,i=Pt(e),s=i.parent!=i;let n=!1;return i.opener&&this.ampdoc.isSingleDoc()&&!s&&(i.close(),n=i.closed),n?r():this.zd(t)}$d(t){const e=t.node,{args:i}=t;let s=i&&i.position,n=i&&i.duration;return s&&!["top","bottom","center"].includes(s)&&(s=void 0),M(n)||(n=void 0),this.aa.animateScrollIntoView(e,s,n)}Fd(t){return Ut(t.node),null}Dd(t){const e=t.node;if(e.classList.contains("i-amphtml-element")){const t=e;this.Od.mutateElement(t,(()=>t.collapse()),!0)}else this.Od.mutateElement(e,(()=>Ji(e,!1)));return null}Ld(t){const{node:e}=t,i=e,s=Pt(i);if(i.classList.contains(Ss(gs)))return null;this.Od.measureElement((()=>{"none"==Zi(s,i).display&&xo(i)}));const n=(r=i).hasAttribute("autofocus")?r:r.querySelector("[autofocus]");var r;return n&&Ke(s).isIos()?(this.Wd(i,n),this.Od.mutateElement(i,(()=>{}))):this.Od.mutateElement(i,(()=>{this.Wd(i,n)})),null}Wd(t,e){t.classList.contains("i-amphtml-element")?t.expand():Ji(t,!0),e&&Ut(e)}Ud(t){return xo(t.node)?this.Ld(t):this.Dd(t)}Bd(t){const e=t.node,{args:i}=t,s=gt().assertString(i.class,"Argument 'class' must be a string.");return jo.test(s)||this.Od.mutateElement(e,(()=>{if(void 0!==i.force){const t=gt().assertBoolean(i.force,"Optional argument 'force' must be a boolean.");e.classList.toggle(s,t)}else e.classList.toggle(s)})),null}Hd(t){const e=t.node,{args:i}=t;return this.Od.mutateElement(e,(()=>{if(void 0!==i.force){const t=gt().assertBoolean(i.force,"Optional argument 'force' must be a boolean.");e.checked=t}else!0===e.checked?e.checked=!1:e.checked=!0})),null}},!0)}(t),function(t,e){var i,s;i=t,s=new Error("Un-supported service: "+e),function(t,e,i){const s=ve(t),n=s[e];n?n.reject&&n.reject(i):(s[e]=Pe(),s[e].reject(i))}(de(ue(i)),"storage",s)}(t,"storage"),function(t){ie(t,yo,Eo,!0)}(t),function(t){t.whenExtensionsKnown().then((()=>{t.declaresExtension("amp-form")&&t.getRootNode().addEventListener("submit",Ho,!0)}))}(t)}var ih,sh,nh="none";function rh(t){return!!t&&-1!=t.toString().indexOf("[native code]")}function oh(t){return void 0===ih&&(e=t||Element,ih=e.prototype.attachShadow?"v1":e.prototype.createShadowRoot?"v0":nh),ih;var e}var hh={strictStyling:!1,scopeRules:function(t,e,i){var s="";return t&&Array.prototype.forEach.call(t,(function(t){if(t.selectorText&&t.style&&void 0!==t.style.cssText)s+=this.scopeSelector(t.selectorText,e,this.strictStyling,i)+" {\n\t",s+=this.propertiesFromRule(t)+"\n}\n\n";else if(t.type===CSSRule.MEDIA_RULE)s+="@media "+t.media.mediaText+" {\n",s+=this.scopeRules(t.cssRules,e),s+="\n}\n\n";else try{t.cssText&&(s+=t.cssText+"\n\n")}catch(e){t.type===CSSRule.KEYFRAMES_RULE&&t.cssRules&&(s+=this.ieSafeCssTextFromKeyFrameRule(t))}}),this),s},ieSafeCssTextFromKeyFrameRule:function(t){var e="@keyframes "+t.name+" {";return Array.prototype.forEach.call(t.cssRules,(function(t){e+=" "+t.keyText+" {"+t.style.cssText+"}"})),e+=" }"},scopeSelector:function(t,e,i,s){var n=[];return t.split(",").forEach((function(t){t=t.trim(),s&&(t=s(t)),this.selectorNeedsScoping(t,e)&&(t=i&&!t.match(uh)?this.applyStrictSelectorScope(t,e):this.applySelectorScope(t,e)),n.push(t)}),this),n.join(", ")},selectorNeedsScoping:function(t,e){if(Array.isArray(e))return!0;var i=this.makeScopeMatcher(e);return!t.match(i)},makeScopeMatcher:function(t){return t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")"+lh,"m")},applySelectorScope:function(t,e){return Array.isArray(e)?this.applySelectorScopeList(t,e):this.applySimpleSelectorScope(t,e)},applySelectorScopeList:function(t,e){for(var i,s=[],n=0;i=e[n];n++)s.push(this.applySimpleSelectorScope(t,i));return s.join(", ")},applySimpleSelectorScope:function(t,e){return t.match(dh)?(t=t.replace(uh,e)).replace(dh,e+" "):e+" "+t},applyStrictSelectorScope:function(t,e){e=e.replace(/\[is=([^\]]*)\]/g,"$1");var i=[" ",">","+","~"],s=t,n="["+e+"]";return i.forEach((function(t){var e=s.split(t);s=e.map((function(t){var e=t.trim().replace(dh,"");return e&&i.indexOf(e)<0&&e.indexOf(n)<0&&(t=e.replace(/([^:]*)(:*)(.*)/,"$1"+n+"$2$3")),t})).join(t)})),s},propertiesFromRule:function(t){var e=t.style.cssText;t.style.content&&!t.style.content.match(/['"]+|attr/)&&(e=e.replace(/content:[^;]*;/g,"content: '"+t.style.content+"';"));var i=t.style;for(var s in i)"initial"===i[s]&&(e+=s+": initial; ");return e}},ah="-shadowcsshost",ch=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",lh=(new RegExp("("+ah+ch,"gim"),new RegExp("(-shadowcsscontext"+ch,"gim"),"([>\\s~+[.,{:][\\s\\S]*)?$"),uh=ah+"-no-combinator",dh=new RegExp(ah,"gim"),ph=(new RegExp("-shadowcsscontext","gim"),/[^\.\-\_0-9a-zA-Z]/),mh=/[^\-\_0-9a-zA-Z]/;function fh(t){return t.replace(/(html|body)/g,gh)}function gh(t,e,i,s){const n=s.charAt(i-1),r=s.charAt(i+t.length);return n&&!ph.test(n)||r&&!mh.test(r)?t:"amp-"+t}function vh(t,e){const i=t.createElement("style");i.textContent=e;try{return(t.head||t.documentElement).appendChild(i),i.sheet?i.sheet.cssRules:null}finally{i.parentNode&&i.parentNode.removeChild(i)}}function _h(t,e,i){const s=self.document.createElement("style");s.textContent=i;const n=function(t){const e=Pt(t),i=t.shadowRoot||t.__AMP_SHADOW_ROOT;if(i)return i.innerHTML="",i;let s;const n=oh();if("v1"==n?(s=t.attachShadow({mode:"open"}),s.styleSheets||Object.defineProperty(s,"styleSheets",{get:function(){const t=[];return zt(s.childNodes,(e=>{"STYLE"===e.tagName&&t.push(e.sheet)})),t}})):s="v0"==n?t.createShadowRoot():function(t){const e=t.ownerDocument;t.classList.add("i-amphtml-shadow-host-polyfill");const i=e.createElement("style");i.textContent=".i-amphtml-shadow-host-polyfill>:not(i-amphtml-shadow-root){display:none!important}",t.appendChild(i);const s=e.createElement("i-amphtml-shadow-root");return t.appendChild(s),t.__AMP_SHADOW_ROOT=s,Object.defineProperty(t,"shadowRoot",{enumerable:!0,configurable:!0,value:s}),s.host=t,s.getElementById=function(t){const e=It(t);return s.querySelector(`#${e}`)},Object.defineProperty(s,"styleSheets",{get:()=>e.styleSheets?P(e.styleSheets).filter((t=>s.contains(t.ownerNode))):[]}),s}(t),void 0===sh&&(sh=oh()!=nh&&(rh(Element.prototype.attachShadow)||rh(Element.prototype.createShadowRoot))),!sh){const t=`i-amphtml-sd-${e.Math.floor(1e4*e.Math.random())}`;s.id=t,s.host.classList.add(t),r=t=>function(t,e){return function(t,e){const i=At(t.id),s=t.ownerDocument;let n=null;try{n=vh(s.implementation.createHTMLDocument(""),e)}catch(t){}if(!n)try{n=vh(s,e)}catch(t){}if(!n)return e;const{scopeRules:r}=hh;return r.call(hh,n,`.${i}`,fh)}(t,e)}(s,t),s.__AMP_CSS_TR=r}var r;return s}(t);return n.appendChild(s),n.appendChild(e),t}var Ah="amp4ads-vars-",yh=["cta-accent-color","cta-accent-element","cta-image","theme"];function Ph(t){const e=t.document;if(!e.fonts||!e.fonts.values)return;const i=e.fonts.values();let s;for(;s=i.next();){const t=s.value;if(!t)return;"loading"==t.status&&"display"in t&&"auto"==t.display&&(t.display="swap")}}var bh,Ih=["amp-ad","amp-embed","amp-video"],wh="extensions",Eh="latest",Th="__AMP_EXT_LDR";function Sh(t){Ih.forEach((e=>{Pr(t,e)}))}function Mh(){return{}}function Rh(t,e){return`${t}:${e}`}mt=class{constructor(t,e,i=""){this.win=t,this.ht=e,this.ft=this.dt(),this.bt=i,this.vt=null,this.gt=function(t){let e=!1,i=null,s=t;return(...t)=>(e||(i=s.apply(self,t),e=!0,s=null),i)}((()=>{t.fetch(`${et.cdn}/rtv/012202072236000/log-messages.simple.json`).then((t=>t.json()),ht).then((t=>{t&&(this.vt=t)}))})),this.yt=this.assert.bind(this)}dt(){var t;const{win:e}=this;return null!==(t=e.console)&&void 0!==t&&t.log&&0!=dt(e)?this.wt():0}wt(t){return this.ht(dt(t),!1)}jt(t,e,i){var s,n;if(e>(null!==(s=at)&&void 0!==s?s:this.ft))return!1;const r=this.win.console,o=null!==(n={1:r.error,3:r.info,2:r.warn}[e])&&void 0!==n?n:r.log,h=this.At(i),a=`[${t}]`;return T(h[0])?h[0]=a+" "+h[0]:h.unshift(a),o.apply(r,h),!0}fine(t,...e){this.jt(t,4,e)}info(t,...e){this.jt(t,3,e)}warn(t,...e){this.jt(t,2,e)}error(t,...e){if(!this.jt(t,1,e)){var i,s;const n=this.createError.apply(this,e);n.name=t||n.name,null===(i=(s=self).__AMP_REPORT_ERROR)||void 0===i||i.call(s,n)}}expectedError(t,...e){var i,s;this.jt(t,1,e)||null===(i=(s=self).__AMP_REPORT_ERROR)||void 0===i||i.call(s,this.createExpectedError.apply(this,e))}createError(t){return this.xt(c.apply(null,arguments))}createExpectedError(t){return this.xt(d.apply(null,arguments))}xt(t){return t=a(t),this.bt?t.message?-1==t.message.indexOf(this.bt)&&(t.message+=this.bt):t.message=this.bt:j(t.message)&&(t.message=t.message.replace(R,"")),t}At(t){return b(t[0])?this.Pt(t[0]):t}Pt(t){var e;const i=t.shift();return null!==(e=this.vt)&&void 0!==e&&e[i]?[this.vt[i]].concat(t):[`More info at ${lt(i,t)}`]}assert(t,e,i){return b(e)?this.assert.apply(this,[t].concat(this.Pt(e))):V.apply(null,[this.bt].concat(Array.prototype.slice.call(arguments)))}assertElement(t,e){return function(t,e,i){return O(t,e,S(e),"Element expected",i)}(this.yt,t,e)}assertString(t,e){return function(t,e,i){return O(t,e,T(e),"String expected",i)}(this.yt,t,e)}assertNumber(t,e){return function(t,e,i){return O(t,e,"number"==typeof e,"Number expected",i)}(this.yt,t,e)}assertArray(t,e){return function(t,e,i){return O(t,e,b(e),"Array expected",i)}(this.yt,t,e)}assertBoolean(t,e){return function(t,e,i){return O(t,e,!!e===e,"Boolean expected",i)}(this.yt,t,e)}},_t(),gt(),bh=function(t,e,i){Cn(e,i),e&&t&&j(e.message)&&!(e.message.indexOf(x)>=0)&&function(t,e){if(Ue(e).isSingleDoc()){const i={"errorName":t.name,"errorMessage":t.message};!function(t,e,i={},s=!0){var n;(n=t,Oe(n,"amp-analytics-instrumentation","amp-analytics")).then((n=>{n&&n.triggerEventForTarget(t,e,i,s)}))}(function(t){const e=Ue(t).getSingleDoc().getRootNode();return e.documentElement||e.body||e}(e),"user-error",i,!1)}}(e,t)}.bind(null,self),self.__AMP_REPORT_ERROR=bh;var xh,kh="runtime";function jh(t,e){if(t.__AMP_TAG)return r();t.__AMP_TAG=!0;const i=t.AMP||[];ee(t,"extensions",class{constructor(t){this.win=t,this.Wu=Ue(t),this.Rf={},this.bf=null,this.wf=null,this.Vf=null}registerExtension(t,e,i,s,n){var r;const o=i?this.Rf[Rh(t,Eh)]:null,h=this.Sf(t,e,null===(r=null==o?void 0:o.auto)||void 0===r||r);if(h.latest=i,!h.loaded){i&&(this.Rf[Rh(t,Eh)]=h);try{var a,c;this.bf=t,this.wf=e,this.Vf=i,s(n,n._),h.loaded=!0,null===(a=h.resolve)||void 0===a||a.call(h,h.extension),null==o||null===(c=o.resolve)||void 0===c||c.call(o,h.extension)}catch(t){var l,u;throw h.error=t,null===(l=h.reject)||void 0===l||l.call(h,t),null==o||null===(u=o.reject)||void 0===u||u.call(o,t),t}finally{this.bf=null,this.wf=null,this.Vf=null}}}waitForExtension(t,e){const i=this.xf(this.Sf(t,e));return Xe(this.win).timeoutPromise(16e3,i).catch((e=>{if(!e.message.includes("timeout"))throw e;return gt().error(wh,`Waited over 16s to load extension ${t}.`),i}))}preloadExtension(t,e="0.1"){"amp-embed"==t&&(t="amp-ad");const i=this.Sf(t,e);return this.Of(t,e,i),this.xf(i)}installExtensionForDoc(t,e,i="0.1"){const s=t.getRootNode();let n=s[Th];return n||(n=s[Th]=g()),n[e]?n[e]:(t.declareExtension(e,i),Pr(t.win,e),n[e]=this.preloadExtension(e,i).then((()=>this.installExtensionInDoc(t,e,i))))}reloadExtension(t,e,i){const s=ke(this.win,t,e,i,!1),n=this.Rf[Rh(t,e)];return n&&(At(!n.loaded&&!n.error),n.scriptPresent=!1),s.forEach((e=>e.setAttribute("i-amphtml-loaded-new-version",t))),this.preloadExtension(t,e)}importUnwrapped(t,e,i="0.1",s=!0){const n=ke(t,e,i,s);let r,o=n.length>0?n[0]:null;return o?r=o.__AMP_SCR_LOADED:(o=xe(this.win,e,i),r=o.__AMP_SCR_LOADED=new Promise(((t,e)=>{o.onload=t,o.onerror=e})),t.document.head.appendChild(o)),r}loadElementClass(t,e="0.1"){return this.preloadExtension(t,e).then((e=>At(e.elements[t]).implementationClass))}addElement(t,e,i){this.Cf(t).extension.elements[t]={implementationClass:e,css:i},this.addDocFactory((s=>{this.kf(s,t,e,i)}))}addTemplate(t,e){this.addDocFactory((i=>{!function(t,e,i){re(t,"templates").Gl(e,i)}(i,t,e)}))}kf(t,e,i,s){s?sn(t,s,(()=>{this.Nf(t.win,e,i)}),!1,e):this.Nf(t.win,e,i)}Nf(t,e,i){(function(t,e,i){const s=function(t,e){if(e.requiresShadowDom()&&!t.Element.prototype.attachShadow)return Be(t).importUnwrapped(t,"amp-shadow-dom-polyfill")}(t,i);s?s.then((()=>_r(t,e,i))):_r(t,e,i)})(t,e,i),ee(t,e,Mh)}addService(t,e){this.Cf(t).extension.services.push({serviceName:t,serviceClass:e}),this.addDocFactory((i=>{ie(i,t,e,!0)}))}addDocFactory(t,e){const i=this.Cf(e);if(i.docFactories.push(t),this.bf&&this.Wu.isSingleDoc()){const e=this.Wu.getAmpDoc(this.win.document),s=this.bf,n=this.wf,r=this.Vf||!1;(e.declaresExtension(s,n)||r&&e.declaresExtension(s,Eh)||i.auto)&&t(e)}}preinstallEmbed(t,e){const i=this.win,s=t.win;!function(t,e){br(t,e,"amp-img"),br(t,e,"amp-pixel")}(i,s),Sh(s),e.forEach((({extensionId:e,extensionVersion:i})=>{t.declareExtension(e,i),Ih.includes(e)||Pr(s,e)}))}installExtensionsInDoc(t,e){return Promise.all(e.map((({extensionId:e,extensionVersion:i})=>this.installExtensionInDoc(t,e,i))))}installExtensionInDoc(t,e,i="0.1"){return t.declareExtension(e,i),this.xf(this.Sf(e,i)).then((()=>{this.Sf(e,i).docFactories.forEach((i=>{try{i(t)}catch(t){u("Doc factory failed: ",t,e)}}))}))}Sf(t,e,i){const s=Rh(t,e);let n=this.Rf[s];return n||(n={version:e,latest:e==Eh,extension:{elements:{},services:[]},auto:i||!1,docFactories:[],promise:void 0,resolve:void 0,reject:void 0,loaded:void 0,error:void 0,scriptPresent:void 0},this.Rf[s]=n),n}Cf(t){return this.bf||_t().error(wh,"unknown extension for ",t),this.Sf(this.bf||"_UNKNOWN_",this.wf||"")}xf(t){if(!t.promise)if(t.loaded)t.promise=Promise.resolve(t.extension);else if(t.error)t.promise=Promise.reject(t.error);else{const e=new o;t.promise=e.promise,t.resolve=e.resolve,t.reject=e.reject}return t.promise}Of(t,e,i){if(this.Df(t,e,i)){const s=xe(this.win,t,e);this.win.document.head.appendChild(s),i.scriptPresent=!0}}Df(t,e,i){if(i.loaded||i.error)return!1;if(void 0===i.scriptPresent){const s=ke(this.win,t,e,i.latest);i.scriptPresent=s.length>0}return!i.scriptPresent}});const s=Be(t);Wo(t),Sh(t),t.AMP={win:t,"_":t.AMP?t.AMP._:void 0},t.AMP.config=it,t.AMP.BaseElement=tr,t.AMP.registerElement=s.addElement.bind(s),t.AMP.registerTemplate=s.addTemplate.bind(s),t.AMP.registerServiceForDoc=s.addService.bind(s),t.AMP.isExperimentOn=we.bind(null,t),t.AMP.toggleExperiment=Ee.bind(null,t),t.AMP.setLogLevel=ct.bind(null),t.AMP.setTickFunction=(t,e)=>{};const n=e(t,s);function h(e){!function(t,e,i){"function"==typeof e||"high"==e.p?r().then(i):(i.displayName=e.n,Kn(t.document,i))}(t,e,(()=>{n.then((()=>{"function"==typeof e?e(t.AMP,t.AMP.Lf):s.registerExtension(e.n,e.ev,e.l,e.f,t.AMP)}))}))}for(let e=0;e<i.length;e++){const s=i[e];if(Vh(t,s))i.splice(e--,1);else if("function"==typeof s||"high"==s.p){try{h(s)}catch(t){_t().error(kh,"Extension failed: ",t,s.n)}i.splice(e--,1)}}!function(t,e){t.document.body&&!function(t){return en(t).length>0}(t)?Xe(t).delay(e,1):e()}(t,(()=>{t.AMP.push=function(e){Vh(t,e)||h(e)};for(let e=0;e<i.length;e++){const s=i[e];if(!Vh(t,s))try{h(s)}catch(t){_t().error(kh,"Extension failed: ",t,s.n)}}i.length=0})),t.AMP.push||(t.AMP.push=i.push.bind(i)),Ke(t).isIos()&&Ki(t.document.documentElement,"cursor","pointer");const a=Be(t);return Qt(t)&&a.preloadExtension("amp-resize-observer-polyfill"),Yt(t)&&a.preloadExtension("amp-intersection-observer-polyfill"),n}function Vh(t,e){if("function"==typeof e)return!1;if(!e.m)return!0;const{v:i}=e;return"2202072236000"!=i&&(Be(t).reloadExtension(e.n,e.ev,e.l),!0)}nt(self).runtime="inabox",nt(self).a4aId=function(t){const e=self.document.head.querySelector('meta[name="amp4ads-id"]');return e?e.getAttribute("content"):null}();try{!function(t){t.onerror=Dn,t.addEventListener("unhandledrejection",(t=>{!t.reason||t.reason.message!==kn&&t.reason.message!==jn&&"AbortError"!==t.reason.message?Cn(t.reason||new Error("rejected promise "+t)):t.preventDefault()}))}(self),function(t,e,i){ee(t,"ampdoc",(function(){return new class{constructor(t,e,i){this.win=t,this.yf=null,e&&(this.yf=new ds(t,{params:fs(t,i)}),t.document.__AMPDOC=this.yf)}isSingleDoc(){return!!this.yf}getSingleDoc(){return At(this.yf)}Mf(t){return t.everAttached&&"function"==typeof t.getAmpDoc?t.getAmpDoc():null}getAmpDocIfAvailable(t){let e=t;for(;e;){const i=this.Mf(t);if(i)return i;const s=Lt(e);if(!s)break;const n=s.__AMPDOC;if(n)return n;e=s.host?s.host:le(s,this.win)}return null}getAmpDoc(t){const e=this.getAmpDocIfAvailable(t);if(!e)throw _t().createError("No ampdoc found for",t);return e}installShadowDoc(t,e,i){At(!e.__AMPDOC);const s=new ps(this.win,t,e,i);return e.__AMPDOC=s,s}installFieDoc(t,e,i){const s=e.document;At(!s.__AMPDOC);const n=At(e.frameElement),r=new ms(e,t,this.getAmpDoc(n),i);return s.__AMPDOC=r,r}}(t,!0,void 0)}))}(self),xh=Ue(self)}catch(t){throw on(self.document),t}Gn=!0,Kn(self.document,(function(){const t=xh.getAmpDoc(self.document);Ro(self),ee(self,"performance",class{constructor(t){this.win=t,this.Ep=ho(H(t,16)),this.Tp=[],this.Sp=t.performance.timeOrigin||t.performance.timing.navigationStart,this.es=null,this.sh=null,this.ki=null,this.Mp=null,this.Rp=!1,this.xp=!1,this.kp=g(),this.jp=void 0,this.Vp=new Hi,this.Op=0,this.Cp=[],this.Np=0;const e=this.win.PerformanceObserver&&this.win.PerformanceObserver.supportedEntryTypes||[];if(e.includes("paint")||this.Vp.rejectSignal("fcp",_t().createExpectedError("First Contentful Paint not supported")),this.Lp=e.includes("layout-shift"),!this.Lp){const t=_t().createExpectedError("Cumulative Layout Shift not supported");this.Vp.rejectSignal(Vi,t),this.Vp.rejectSignal(Ci,t)}this.Dp=e.includes("first-input"),this.Dp||this.Vp.rejectSignal("fid",_t().createExpectedError("First Input Delay not supported")),this.zp=e.includes("largest-contentful-paint"),this.zp||this.Vp.rejectSignal("lcp",_t().createExpectedError("Largest Contentful Paint not supported")),this.Up=e.includes("navigation"),this.$p=this.$p.bind(this),this.addEnabledExperiment("rtv-"+nt(this.win).rtvVersion),fi(t.document).then((()=>{this.tick("dr"),this.flush()})),gi(t.document).then((()=>this.Fp())),this.Hp(),this.Bp=!1,this.qp=q(t,(()=>{this.Gp()}),6e3)}coreServicesAvailable(){const{documentElement:t}=this.win.document;this.es=ze(t),this.sh=ei(t),this.ki=Je(t),this.Mp=He(this.es),this.xp=this.sh.isEmbedded()&&"1"===this.sh.getParam("csi"),this.es.onVisibilityChanged(this.flush.bind(this)),this.Wp();const e=this.sh.whenMessagingReady();return this.es.whenFirstVisible().then((()=>{this.tick("ofv"),this.flush()})),(this.zp||this.Lp)&&this.es.onVisibilityChanged(this.$p),e?e.then((()=>{this.tickDelta("msr",this.win.performance.now()),this.tick("timeOrigin",void 0,this.Sp);const t=this.es.getMetaByName("amp-usqp");return t&&t.split(",").forEach((t=>{this.addEnabledExperiment("ssr-"+t)})),this.Kp()})).then((()=>{this.Rp=!0,this.Yp(),this.flush()})):r()}Kp(){return(t=Ue(this.win).getSingleDoc(),t.waitForBodyOpen().then((()=>{const e=t.getBody(),i=(s=e,n=()=>!!e.firstElementChild,new Promise((t=>{jt(s,n,t)})));var s,n;return Xe(t.win).timeoutPromise(2e3,i).then((()=>"AMP-STORY"===e.firstElementChild.tagName),(()=>!1))}))).then((t=>{t&&this.addEnabledExperiment("story")}));var t}Fp(){this.tick("ol"),this.flush()}Hp(){if("inabox"===nt(this.win).runtime)return;let t=!1,e=!1,i=!1,s=!1;const n=n=>{if("first-paint"!=n.name||t)if("first-contentful-paint"!=n.name||e)if("first-input"!==n.entryType||i)"layout-shift"===n.entryType?n.hadRecentInput||(this.Jp(n),this.Np+=n.value):"largest-contentful-paint"===n.entryType?this.Xp(n):"navigation"!=n.entryType||s||(["domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","loadEventEnd","loadEventStart","requestStart","responseStart"].forEach((t=>this.tick(t,n[t]))),s=!0);else{const t=n.processingStart-n.startTime;this.tickDelta("fid",t),i=!0}else{const t=n.startTime+n.duration;this.tickDelta("fcp",t),this.tickSinceVisible("fcpv",t),e=!0}else this.tickDelta("fp",n.startTime+n.duration),t=!0},r=[];this.win.PerformancePaintTiming&&(this.win.performance.getEntriesByType("paint").forEach(n),r.push("paint")),this.Dp&&this.Qp(n,{type:"first-input",buffered:!0}),this.Lp&&this.Qp(n,{type:"layout-shift",buffered:!0}),this.zp&&this.Qp(n,{type:"largest-contentful-paint",buffered:!0}),this.Up&&this.Qp(n,{type:"navigation",buffered:!0}),r.length>0&&this.Qp(n,{entryTypes:r})}Qp(t,e){try{new this.win.PerformanceObserver((e=>{e.getEntries().forEach(t),this.flush()})).observe(e)}catch(t){}}Zp(){const t=this.es.getVisibilityState();return t===$i||t===zi}$p(){this.Zp()&&(this.tm(),this.Gp())}im(){if(!this.Bp){this.Bp=!0;const{win:t}=this,e=parseInt(Zi(t,t.document.body).getPropertyValue("--google-font-exp"),10);e>=0&&this.addEnabledExperiment(`google-font-exp=${e}`)}}tm(){this.Lp&&(this.im(),this.sm())}Jp(t){if(!this.es)return;if(this.Zp())return;const e=this.Cp;if(e.length>0){const i=e[0],s=e[e.length-1];if(t.startTime-s.startTime<1e3&&t.startTime-i.startTime<5e3)return void e.push(t);this.Gp()}e.push(t),this.qp()}Gp(){const t=this.Cp,e=this.Vp.get(Vi);let i=0,s=0;for(var r,o=n(t,!0);!(r=o()).done;){const t=r.value;if(t.sources)for(var h,a=n(t.sources,!0);!(h=a()).done;)i|=Ko(h.value.node);s+=t.value}t.length=0,this.im(),(null==e||s>e)&&(this.Vp.reset(Vi),this.Vp.reset(Oi),this.tickDelta(Vi,s),this.tickDelta(Oi,i),this.flush())}sm(){0===this.Op?(this.tickDelta(Ci,this.Np),this.flush(),this.Op=1):1===this.Op&&(this.tickDelta("cls-2",this.Np),this.flush(),this.Op=2)}Xp(t){const{element:e,startTime:i}=t,s=Ko(e);this.tickDelta("lcpt",s),this.tickDelta("lcp",i),this.tickSinceVisible("lcpv",i),this.flush()}Wp(){const t=!this.es.hasBeenVisible();let e=-1;this.es.whenFirstVisible().then((()=>{e=this.win.performance.now(),this.mark("visible")})),this.nm().then((()=>{if(t){const t=e>-1?this.win.performance.now()-e:0;this.es.whenFirstVisible().then((()=>{this.tickDelta(Ni,t)})),this.rm(t),this.mark(Ni)}else this.tick(Ni),this.rm(this.win.performance.now()-e);this.flush()}))}nm(){return this.ki.whenFirstPass().then((()=>{const{documentElement:t}=this.win.document,e=si(t).getSize();return Gt(0,0,e.width,e.height),i=t,this.win,function(t,e){const i=ze(t);return i.signals().whenSignal(Ri).then((()=>{const t=Je(i).get().filter((t=>!(!t.prerenderAllowed()||xi.includes(t.element.tagName)))).map((t=>t.element));return 0===t.length?Promise.resolve([]):new Promise((e=>{const{win:s}=i,n=new s.IntersectionObserver((t=>{n.disconnect();const i=[];for(let e=0;e<t.length;e++){const{isIntersecting:s,target:n}=t[e];s&&i.push(n)}e(i)}),{root:$t(s)?s.document:null,threshold:.01});for(let e=0;e<Math.min(t.length,100);e++)n.observe(t[e])})).then((t=>Promise.all(t.map((t=>t.whenLoaded())))))}))}(i);var i}))}tick(t,e,i){At(null==e||null==i);const s={"label":t};let n;null!=e?s.delta=n=Math.max(e,0):null!=i?s.value=i:(this.mark(t),n=this.win.performance.now(),s.value=this.Sp+n),this.win.dispatchEvent(Ai(this.win,"perf",{label:t,delta:n})),this.Rp&&this.xp?this.sh.sendMessage("tick",s):this.om(s),this.Vp.signal(t,n)}mark(t){var e,i;null===(e=(i=this.win.performance).mark)||void 0===e||e.call(i,t)}tickDelta(t,e){this.tick(t,e)}tickSinceVisible(t,e){var i,s;const n=null==e?this.win.performance.now():e,r=this.Sp+n,o=null!==(i=this.sh)&&void 0!==i&&i.isEmbedded()?null===(s=this.es)||void 0===s?void 0:s.getFirstVisibleTime():this.Sp,h=o?Math.max(r-o,0):0;this.tickDelta(t,h)}flush(){this.Rp&&this.xp&&(null==this.jp&&(this.jp=Object.keys(this.kp).join(",")),this.sh.sendMessage("sendCsi",{"ampexp":this.jp,"canonicalUrl":this.Mp.canonicalUrl,"eventid":this.Ep},!0))}addEnabledExperiment(t){this.kp[t]=!0,this.jp=void 0}om(t){this.Tp.length>=50&&this.Tp.shift(),this.Tp.push(t)}Yp(){this.sh&&(this.xp?(this.Tp.forEach((t=>{this.sh.sendMessage("tick",t)})),this.Tp.length=0):this.Tp.length=0)}rm(t){this.sh&&this.sh.sendMessage("prerenderComplete",{"value":t},!0)}isPerformanceTrackingOn(){return this.xp}getMetric(t){return this.Vp.whenSignal(t)}});const e=We(self);e.tick("is"),self.document.documentElement.classList.add("i-amphtml-inabox"),sn(t,"[hidden]{display:none!important}.i-amphtml-element{display:inline-block}.i-amphtml-blurry-placeholder{transition:opacity 0.3s cubic-bezier(0.0,0.0,0.2,1)!important;pointer-events:none}[layout=nodisplay]:not(.i-amphtml-element){display:none!important}.i-amphtml-layout-fixed,[layout=fixed][width][height]:not(.i-amphtml-layout-fixed){display:inline-block;position:relative}.i-amphtml-layout-responsive,[layout=responsive][width][height]:not(.i-amphtml-layout-responsive),[width][height][heights]:not([layout]):not(.i-amphtml-layout-responsive),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-layout-responsive){display:block;position:relative}.i-amphtml-layout-intrinsic,[layout=intrinsic][width][height]:not(.i-amphtml-layout-intrinsic){display:inline-block;position:relative;max-width:100%}.i-amphtml-layout-intrinsic .i-amphtml-sizer{max-width:100%}.i-amphtml-intrinsic-sizer{max-width:100%;display:block!important}.i-amphtml-layout-container,.i-amphtml-layout-fixed-height,[layout=container],[layout=fixed-height][height]:not(.i-amphtml-layout-fixed-height){display:block;position:relative}.i-amphtml-layout-fill,.i-amphtml-layout-fill.i-amphtml-notbuilt,[layout=fill]:not(.i-amphtml-layout-fill),body noscript>*{display:block;overflow:hidden!important;position:absolute;top:0;left:0;bottom:0;right:0}body noscript>*{position:absolute!important;width:100%;height:100%;z-index:2}body noscript{display:inline!important}.i-amphtml-layout-flex-item,[layout=flex-item]:not(.i-amphtml-layout-flex-item){display:block;position:relative;-ms-flex:1 1 auto;flex:1 1 auto}.i-amphtml-layout-fluid{position:relative}.i-amphtml-layout-size-defined{overflow:hidden!important}.i-amphtml-layout-awaiting-size{position:absolute!important;top:auto!important;bottom:auto!important}i-amphtml-sizer{display:block!important}@supports (aspect-ratio:1/1){i-amphtml-sizer.i-amphtml-disable-ar{display:none!important}}.i-amphtml-blurry-placeholder,.i-amphtml-fill-content{display:block;height:0;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:0;margin:auto}.i-amphtml-layout-size-defined .i-amphtml-fill-content{position:absolute;top:0;left:0;bottom:0;right:0}.i-amphtml-replaced-content,.i-amphtml-screen-reader{padding:0!important;border:none!important}.i-amphtml-screen-reader{position:fixed!important;top:0px!important;left:0px!important;width:4px!important;height:4px!important;opacity:0!important;overflow:hidden!important;margin:0!important;display:block!important;visibility:visible!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:8px!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:12px!important}.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader~.i-amphtml-screen-reader{left:16px!important}.i-amphtml-unresolved{position:relative;overflow:hidden!important}.i-amphtml-select-disabled{-webkit-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.i-amphtml-notbuilt,[layout]:not(.i-amphtml-element),[width][height][heights]:not([layout]):not(.i-amphtml-element),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-element){position:relative;overflow:hidden!important;color:transparent!important}.i-amphtml-notbuilt:not(.i-amphtml-layout-container)>*,[layout]:not([layout=container]):not(.i-amphtml-element)>*,[width][height][heights]:not([layout]):not(.i-amphtml-element)>*,[width][height][sizes]:not([layout]):not(.i-amphtml-element)>*{display:none}amp-img:not(.i-amphtml-element)[i-amphtml-ssr]>img.i-amphtml-fill-content{display:block}.i-amphtml-notbuilt:not(.i-amphtml-layout-container),[layout]:not([layout=container]):not(.i-amphtml-element),[width][height][heights]:not([layout]):not(.i-amphtml-element),[width][height][sizes]:not(img):not([layout]):not(.i-amphtml-element){color:transparent!important;line-height:0!important}.i-amphtml-ghost{visibility:hidden!important}.i-amphtml-element>[placeholder],[layout]:not(.i-amphtml-element)>[placeholder],[width][height][heights]:not([layout]):not(.i-amphtml-element)>[placeholder],[width][height][sizes]:not([layout]):not(.i-amphtml-element)>[placeholder]{display:block;line-height:normal}.i-amphtml-element>[placeholder].amp-hidden,.i-amphtml-element>[placeholder].hidden{visibility:hidden}.i-amphtml-element:not(.amp-notsupported)>[fallback],.i-amphtml-layout-container>[placeholder].amp-hidden,.i-amphtml-layout-container>[placeholder].hidden{display:none}.i-amphtml-layout-size-defined>[fallback],.i-amphtml-layout-size-defined>[placeholder]{position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:1}amp-img[i-amphtml-ssr]:not(.i-amphtml-element)>[placeholder]{z-index:auto}.i-amphtml-notbuilt>[placeholder]{display:block!important}.i-amphtml-hidden-by-media-query{display:none!important}.i-amphtml-element-error{background:red!important;color:#fff!important;position:relative!important}.i-amphtml-element-error:before{content:attr(error-message)}i-amp-scroll-container,i-amphtml-scroll-container{position:absolute;top:0;left:0;right:0;bottom:0;display:block}i-amp-scroll-container.amp-active,i-amphtml-scroll-container.amp-active{overflow:auto;-webkit-overflow-scrolling:touch}.i-amphtml-loading-container{display:block!important;pointer-events:none;z-index:1}.i-amphtml-notbuilt>.i-amphtml-loading-container{display:block!important}.i-amphtml-loading-container.amp-hidden{visibility:hidden}.i-amphtml-element>[overflow]{cursor:pointer;position:relative;z-index:2;visibility:hidden;display:initial;line-height:normal}.i-amphtml-layout-size-defined>[overflow]{position:absolute}.i-amphtml-element>[overflow].amp-visible{visibility:visible}template{display:none!important}.amp-border-box,.amp-border-box *,.amp-border-box :after,.amp-border-box :before{box-sizing:border-box}amp-pixel{display:none!important}amp-analytics,amp-auto-ads,amp-story-auto-ads{position:fixed!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;visibility:hidden}html.i-amphtml-fie>amp-analytics{position:initial!important}[visible-when-invalid]:not(.visible),form [submit-error],form [submit-success],form [submitting]{display:none}amp-accordion{display:block!important}@media (min-width:1px){:where(amp-accordion>section)>:first-child{margin:0;background-color:#efefef;padding-right:20px;border:1px solid #dfdfdf}:where(amp-accordion>section)>:last-child{margin:0}}amp-accordion>section{float:none!important}amp-accordion>section>*{float:none!important;display:block!important;overflow:hidden!important;position:relative!important}amp-accordion,amp-accordion>section{margin:0}amp-accordion:not(.i-amphtml-built)>section>:last-child{display:none!important}amp-accordion:not(.i-amphtml-built)>section[expanded]>:last-child{display:block!important}\n/*# sourceURL=/css/ampshared.css*/html.i-amphtml-inabox{width:100%!important;height:100%!important}",(()=>{Kn(self.document,(function(){Wo(self),function(t){pi(t.document,(()=>function(t){let e=1500;const i=t.performance;i&&i.timing&&i.timing.navigationStart&&(e=Date.now()-i.timing.navigationStart);const s=Math.max(1,2100-e);t.setTimeout((()=>{Ph(t);const{styleSheets:e}=t.document;if(!e)return;const i=t.document.querySelectorAll(`link[rel~="stylesheet"]:not([href^="${It(et.cdn)}"])`),n=[];for(let t=0;t<i.length;t++){const s=i[t];let r=!1;for(let t=0;t<e.length;t++)if(e[t].ownerNode==s){r=!0;break}r||n.push(s)}for(let e=0;e<n.length;e++){const i=n[e],r=i.media||"all";i.media="print",i.onload=()=>{i.media=r,Ph(t)},i.setAttribute("i-amphtml-timeout",s),i.parentNode.insertBefore(i,i.nextSibling)}}),s)}(t)))}(self),eh(t),e.coreServicesAvailable(),go=r(),function(t){const{win:e}=t,i=t.getRootNode();var s,n,r,o;(s=t,n=e,r=si(t).getLayoutRect(i.documentElement||i.body||i),function(t,e,i){return t.signals().whenSignal(Ri).then((()=>{const i=[];return Je(t).get().forEach((t=>{t.hasBeenMeasured()||t.hostWin!=e||t.hasOwner()||i.push(t.ensureMeasured())})),Promise.all(i)})).then((()=>Je(t).get().filter((t=>t.hostWin==e&&!t.hasOwner()&&t.hasBeenMeasured()&&(t=>!(!t.isDisplayed()||!t.overlaps(r)&&!t.isFixed()||o&&!t.prerenderAllowed()))(t)))))}(ze(s),n).then((t=>{const e=[];return t.forEach((t=>{xi.includes(t.element.tagName)||e.push(t.loadedOnce())})),Promise.all(e)}))).then((()=>{e.dispatchEvent(Ai(e,"amp-ini-load",null,{bubbles:!0})),e.parent&&e.parent.postMessage("amp-ini-load","*")}))}(t)})),Kn(self.document,(function(){!function(t){!function(t){Ir(t,Er,Sr)}(t),function(t){Ir(t,xr,kr)}(t),function(t){Ir(t,"amp-layout",Mr)}(t)}(self)})),Kn(self.document,(function(){jh(self,(t=>(function(t){const{documentElement:e}=t.document,i=Ue(t).getSingleDoc();t.AMP.ampdoc=i;const s=ei(e);t.AMP.viewer=s;const n=si(e);t.AMP.viewport={},t.AMP.viewport.getScrollLeft=n.getScrollLeft.bind(n),t.AMP.viewport.getScrollWidth=n.getScrollWidth.bind(n),t.AMP.viewport.getWidth=n.getWidth.bind(n)}(t),Vt(t.document).then((()=>{yr(t.AMP.ampdoc)})))))})),Kn(self.document,(function(){yr(t)})),Kn(self.document,(function(){Eo.installAnchorClickInterceptor(t,self),function(t){if(t.document.head.querySelector(`meta[content='${ji}']`))return;const e=Ct(t.document,"meta",{"http-equiv":"origin-trial",content:ji});t.document.head.appendChild(e)}(self),function(t){const{win:e}=t,i=e.document,s=function(t){const e=g();return zt(t,(t=>{const{content:i,name:s}=t;if(s.startsWith("amp-cta-")){const t=s.split("amp-")[1];e[t]=i}else if(s.startsWith(Ah)){const t=s.split(Ah)[1];e[t]=i}})),e}(function(t){return t.querySelectorAll("meta[name]")}(i));if(!(r=s)["cta-type"]||!r["cta-url"])return;var r;sn(t,".i-amphtml-story-ad-link-root{all:initial!important;color:initial!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column!important;flex-direction:column!important;-ms-flex-align:center!important;align-items:center!important}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-shared.css*/amp-story-cta-layer{display:block!important;position:absolute!important;top:80%!important;right:0!important;bottom:0!important;left:0!important;margin:0!important;z-index:2147483642!important}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-inabox.css*/",(()=>{})),function(t,e,i){const s=t.document;try{const n=e["attribution-url"],r=e["attribution-icon"];if(!n||!r)return null;yn(n,i,"amp-story-auto-ads attribution url"),yn(r,i,"amp-story-auto-ads attribution icon");const o=Ct(s,"div",{"role":"button","class":"i-amphtml-attribution-host"}),h=Ct(s,"img",{"class":"i-amphtml-story-ad-attribution","src":r});h.addEventListener("click",(e=>function(t,e){Ao(t,e,"_blank")}(t,n))),_h(o,h,".i-amphtml-story-ad-attribution{position:absolute;bottom:0!important;left:0!important;max-height:15px!important;z-index:4!important}.i-amphtml-story-ad-fullbleed.i-amphtml-story-ad-attribution{bottom:12.5vh!important;left:50%!important;transform:translateX(-22.5vh)!important}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-attribution.css*/"),i.appendChild(o)}catch(t){return null}}(e,s,i.body);const o=new class{constructor(t){this.Od=Ge(t),this.hm=t.win.document,this.am=this.hm.createElement("div"),this.Od.mutateElement(this.am,(()=>{this.hm.body.appendChild(this.am),Yi(this.am,{position:"absolute",top:0,left:0,zIndex:1,visibility:"hidden","font-weight":"bold","letter-spacing":"0.2px"})}))}fit(t,e,i){let s=!1;return this.Od.mutateElement(e,(()=>{this.am.textContent=i;const n=function(t,e,i,s,n){for(let e=14;e>=12;e--){Ki(t,"fontSize",Xi(e));const s=t.offsetHeight,n=t.offsetWidth;if(s<32&&n<i)return e}return 11}(this.am,0,this.lm(t));n>=12&&(this.um(e,n),s=!0)})).then((()=>s))}lm(t){return t.offsetWidth-84}um(t,e){Ki(t,"fontSize",Xi(e))}}(t),h=i.createElement("div");(function(t,e,i,s){const r=s["cta-url"],o=s["cta-type"],h=Ct(t,"a",{"class":"i-amphtml-story-ad-link","target":"_blank","href":r});return e.fit(i,h,o).then((e=>{if(!e)return null;if(h.href=r,h.textContent=o,"https:"!==h.protocol&&"http:"!==h.protocol)return null;const a=function(t,e){return t.__AMP_EXPERIMENT_BRANCHES?t.__AMP_EXPERIMENT_BRANCHES["story-ad-progress-segment"]:null}(t.defaultView);return a&&"31063379"!==a?function(t,e,i){const s=t.createElement("amp-story-page-outlink");s.setAttribute("layout","nodisplay");const r=Ct(t,"a",{"class":"i-amphtml-story-ad-link","target":"_top","href":e["cta-url"]});r.textContent=e["cta-type"],s.appendChild(r);for(var o,h=n(yh,!0);!(o=h()).done;){const t=o.value;e[t]&&s.setAttribute(t,e[t])}return Be(Pt(t)).installExtensionForDoc(ue(t),"amp-story-page-attachment","0.1"),s.className="i-amphtml-story-page-outlink-container",i.appendChild(s),r}(t,s,i):function(t,e,i){const s=e.createElement("amp-story-cta-layer");s.className="i-amphtml-cta-container";const n=Ct(e,"div",{"class":"i-amphtml-story-ad-link-root","role":"button"});return _h(n,t,".i-amphtml-story-ad-link{background-color:#fff!important;border-radius:20px!important;box-sizing:border-box!important;bottom:32px!important;box-shadow:0px 2px 12px rgba(0,0,0,0.16)!important;color:#4285f4!important;font-family:Roboto,sans-serif!important;font-weight:700!important;height:36px!important;letter-spacing:0.2px!important;line-height:36px!important;overflow:hidden!important;opacity:0;padding:0 10px!important;position:absolute!important;text-align:center!important;text-decoration:none!important;min-width:120px!important;max-width:calc(100vw - 64px)}[cta-active].i-amphtml-story-ad-link{animation-delay:100ms!important;animation-duration:300ms!important;animation-timing-function:cubic-bezier(0.4,0,0.2,1)!important;animation-fill-mode:forwards!important;animation-name:ad-cta!important}@keyframes ad-cta{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}\n/*# sourceURL=/extensions/amp-story-auto-ads/0.1/amp-story-auto-ads-cta-button.css*/"),s.appendChild(n),i.appendChild(s),t}(h,t,i)}))})(i,o,h,s).then((t=>t&&t.setAttribute("cta-active",""))),i.body.appendChild(h),e.parent&&e.parent.postMessage("amp-story-ad-load","*")}(t),function(t){const e=t.location.href;if(e.startsWith("about:"))return;let i=!1;const s=J(t);ot(t,s)&&(i="0"!==s.validate),i&&function(t,e){const i=t.createElement("script");i.src=e,qt(t,i);const s=Ii(i).then((()=>{t.head.removeChild(i)}),(()=>{}));return t.head.appendChild(i),s}(t.document,`${et.cdn}/v0/validator_wasm.js`).then((()=>{amp.validator.validateUrlAndLog(e,t.document)}))}(self),function(t){At(t.defaultView);const e=t.defaultView;Vt(t).then((()=>function(t){const e=en(t).map((e=>{const i=function(t,e){return fe(t,e)}(t,e).then((t=>t&&function(t){return"function"==typeof t.whenReady}(t)?t.whenReady().then((()=>t)):t));return Xe(t).timeoutPromise(3e3,i,`Render timeout waiting for service ${e} to be ready.`)}));return Promise.all(e)}(e))).catch((t=>(u(t),[]))).then((i=>{rn=!0,t.body.getBoundingClientRect(),hn(t),ue(t).signals().signal(Hs),i.length>0&&Je(t.documentElement).schedulePass(1,!0);try{const t=We(e);t.tick("mbv"),t.flush()}catch(t){}}))}(self.document)}),!0),Kn(self.document,(function(){e.tick("e_is"),Je(t).ampInitComplete(),e.flush()}))}),!0,"amp-runtime")})),self.console&&(console.info||console.log).call(console,"Powered by AMP ⚡ HTML – Version 2202072236000",self.location.href),self.document.documentElement.setAttribute("amp-version","2202072236000")})();
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */
/**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file or at
* https://developers.google.com/open-source/licenses/bsd
*/